ValidationRequestedEventArgs.CancellationToken Property
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.
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