<workflowUnhandledException>
A service behavior that enables you to specify the action to take when an unhandled exception occurs within a workflow service.
Schema Hierarchy
<system.serviceModel> of workflow
<behaviors> of workflow
<serviceBehaviors> of workflow
<behavior> of <serviceBehaviors> of workflow
<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 |
---|---|
Specifies a behavior element. |
See Also
Reference
WorkflowUnhandledExceptionBehavior
WorkflowUnhandledExceptionElement