Editare

Partajați prin


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
InstanceLockedExceptionAction

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

Applies to