Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
A service behavior that enables you to specify the action to take when an unhandled exception occurs within a workflow service.
<configuration>
  <system.ServiceModel>
    <behaviors>
      <serviceBehaviors>
        <behavior>
          <workflowUnhandledException>
Syntax
<behaviors>
  <serviceBehaviors>
    <behavior name="String">
      <workflowUnhandledException action="Abandon/AbandonAndSuspend/Cancel/Terminate" />
    </behavior>
  </serviceBehaviors>
</behaviors>  
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
| Attribute | Description | 
|---|---|
| action | A string that specifies the action to take when an unhandled exception occurs. This attribute is of type WorkflowUnhandledExceptionAction | 
Child Elements
None.
Parent Elements
| Element | Description | 
|---|---|
| <behavior> of <serviceBehaviors> | Specifies a behavior element. | 
See also
							
							
								Collaborate with us on GitHub
							
						
						
							The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.