ValidationRequestedEventArgs.CancellationToken Property

Definition

Gets a token that signals when the caller has requested cancellation of the in-flight async validation pass. Synchronous handlers can ignore this; async handlers that perform long-running work (database lookups, remote API calls) should pass it to their downstream APIs so the work can be aborted promptly.

public System.Threading.CancellationToken CancellationToken { get; }
member this.CancellationToken : System.Threading.CancellationToken
Public ReadOnly Property CancellationToken As CancellationToken

Property Value

Applies to