CancellationToken::ThrowIfCancellationRequested Method
Throws a OperationCanceledException if this token has had cancellation requested.
Namespace: System.Threading
Assembly: mscorlib (in mscorlib.dll)
| Exception | Condition |
|---|---|
| OperationCanceledException | The token has had cancellation requested. |
| ObjectDisposedException | The associated CancellationTokenSource has been disposed. |
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Community Additions
ADD
Show: