DurableServiceAttribute.UnknownExceptionAction Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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.

.NET Framework
Available since 3.5
Return to top