DurableServiceAttribute.UnknownExceptionAction Property

Gets or sets the UnknownExceptionAction enumeration value associated with the durable service.

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

public UnknownExceptionAction UnknownExceptionAction { get; set; }

When DurableServiceAttribute is instantiated, it sets this property value to TerminateInstance. This means that whenever an unknown exception is encountered by the durable service, the service instance is terminated and any state information is deleted from the persistence store.

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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft