InstanceLockedExceptionAction InstanceLockedExceptionAction InstanceLockedExceptionAction InstanceLockedExceptionAction Enum

Definition

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
InstanceLockedExceptionActionInstanceLockedExceptionActionInstanceLockedExceptionActionInstanceLockedExceptionAction

Fields

AggressiveRetry AggressiveRetry AggressiveRetry 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).

BasicRetry BasicRetry BasicRetry 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).

NoRetry NoRetry NoRetry NoRetry 0

Specifies that the persistence provider does not reattempt to lock an instance if the instance is already locked by another host.

Applies to