CancellationTokenSource.Token Property

July 28, 2014

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.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2014 Microsoft