This documentation is archived and is not being maintained.

UnknownExceptionAction Enumeration

Specifies how a durable service will handle an unknown exception.

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

public enum class UnknownExceptionAction

Member nameDescription
TerminateInstanceThe service will close all channels and remove its state information from its persistence store.
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.

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

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

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

.NET Framework

Supported in: 3.5