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
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 | 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 | 0 | Specifies that the persistence provider does not reattempt to lock an instance if the instance is already locked by another host. |
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈