InstanceLockedExceptionAction Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains options that specify what action the SQL persistence provider should take when it receives an exception when trying to lock an instance.
public enum class InstanceLockedExceptionAction
public enum InstanceLockedExceptionAction
type InstanceLockedExceptionAction =
Public Enum InstanceLockedExceptionAction
- Inheritance
Fields
Name | Value | Description |
---|---|---|
NoRetry | 0 | Specifies that the persistence provider does not reattempt to lock an instance if the instance is already locked by another host. |
BasicRetry | 1 | Specifies 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). |
AggressiveRetry | 2 | Specifies 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). |