共用方式為


EnvironmentCallbackContext.CancellationToken Property

Definition

Gets the CancellationToken associated with the callback context.

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

Property Value

Applies to