Token Property
Collapse the table of content
Expand the table of content

CancellationTokenSource.Token Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the CancellationToken associated with this CancellationTokenSource.

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

'Declaration
Public ReadOnly Property Token As CancellationToken

ExceptionCondition
ObjectDisposedException

The token source has been disposed.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft