<workflowUnhandledException>

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