Επεξεργασία

Κοινή χρήση μέσω


SqlWorkflowInstanceStoreBehavior.InstanceLockedExceptionAction Property

Definition

Gets or sets the InstanceLockedExceptionAction property. This property specifies what action a service host should take when it receives an InstanceLockedException when the host tries to lock an instance because the instance is currently locked by another host.

public:
 property System::Activities::DurableInstancing::InstanceLockedExceptionAction InstanceLockedExceptionAction { System::Activities::DurableInstancing::InstanceLockedExceptionAction get(); void set(System::Activities::DurableInstancing::InstanceLockedExceptionAction value); };
public System.Activities.DurableInstancing.InstanceLockedExceptionAction InstanceLockedExceptionAction { get; set; }
member this.InstanceLockedExceptionAction : System.Activities.DurableInstancing.InstanceLockedExceptionAction with get, set
Public Property InstanceLockedExceptionAction As InstanceLockedExceptionAction

Property Value

The action a service host should take when receiving a InstanceLockedException.

Remarks

The options allowed for this field are: None, Basic Retry, and Aggressive Retry. The default value is None. The following list provides you with the descriptions for these three options:

  • None. The service host does not attempt to lock the instance and passes the InstanceLockedException to the caller.

  • Basic Retry. The service host reattempts to lock the instance with a linear retry interval and passes the exception to the caller at the end of the sequence.

  • Aggressive Retry. The service host reattempts to lock the instance with an exponentially increasing delay and passes the InstanceLockedException to the caller at the end of the sequence.

Applies to