CancellationTokenSource.Token Property

Gets the CancellationToken associated with this CancellationTokenSource.

Namespace:  System.Threading
Assembly:  mscorlib (in mscorlib.dll)

public CancellationToken Token { get; }

ExceptionCondition
ObjectDisposedException

The token source has been disposed.

Silverlight

Supported in: 5

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: