Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

InstanceLockedExceptionAction Enumeration

.NET Framework 4.6 and 4.5

Contains options that specify what action the SQL persistence provider should take when it receives an exception when trying to lock an instance.

Namespace:  System.Activities.DurableInstancing
Assembly:  System.Activities.DurableInstancing (in System.Activities.DurableInstancing.dll)

public enum InstanceLockedExceptionAction

Member nameDescription
AggressiveRetrySpecifies that the persistence provider reattempts to lock an instance with an exponentially increasing delay between successive attempts. The persistence provider passes the InstanceLockedException to the caller at the end of the sequence (after retrying predefined number of times).
BasicRetrySpecifies that the persistence provider reattempts to lock the instance with a linear retry interval. The persistence provider passes the InstanceLockedException to the caller at the end of the sequence (after retrying predefined number of times).
NoRetrySpecifies that the persistence provider does not reattempt to lock an instance if the instance is already locked by another host.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft