Expand Minimize
This topic has not yet been rated - Rate this topic

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.5

Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.