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.
Assembly: mscorlib (in mscorlib.dll)
Property Value
Type: System.Threading.CancellationTokenThe CancellationToken associated with this CancellationTokenSource.
| Exception | Condition |
|---|---|
| ObjectDisposedException | The token source has been disposed. |
Show: