Export (0) Print
Expand All
Expand Minimize

UnknownExceptionAction Enumeration

Note: This API is now obsolete.

Specifies how a durable service will handle an unknown exception.

Namespace:  System.ServiceModel.Description
Assembly:  System.WorkflowServices (in System.WorkflowServices.dll)

[ObsoleteAttribute("The WF3 types are deprecated.  Instead, please use the new WF4 types from System.Activities.*")]
public enum UnknownExceptionAction

Member nameDescription
AbortInstanceThe service will abruptly stop and leave existing state information in its persistence store. Any changes to instance state during the operation which threw the unknown exception will be lost.
TerminateInstanceThe service will close all channels and remove its state information from its persistence store.

By default, when a durable service is created, UnknownExceptionAction is set to TerminateInstance.

.NET Framework

Supported in: 4, 3.5
Obsolete (compiler warning) in 4.6
Obsolete (compiler warning) in 4.6
Obsolete (compiler warning) in 4.5
Obsolete (compiler warning) in 4.5.1
Obsolete (compiler warning) in 4.5.2
Show:
© 2015 Microsoft