Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
property UnknownExceptionAction UnknownExceptionAction {
	UnknownExceptionAction get();
	void set(UnknownExceptionAction value);
}

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
Show:
© 2017 Microsoft