CancellationTokenSource.Token CancellationTokenSource.Token CancellationTokenSource.Token CancellationTokenSource.Token Property

定义

获取与此 CancellationToken 关联的 CancellationTokenSourceGets the CancellationToken associated with this CancellationTokenSource.

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

属性值

异常

已释放标记源。The token source has been disposed.

适用于

另请参阅