SqlRetryingEventArgs.Cancel Property

Definition

Gets or sets a value that indicates whether the retry logic should be canceled.

public bool Cancel { get; set; }
member this.Cancel : bool with get, set
Public Property Cancel As Boolean

Property Value

Boolean

If set to true, the execution attempt will be interrupted immediately.

Applies to