CancellationToken..::..ThrowIfCancellationRequested Method
Throws a OperationCanceledException if this token has had cancellation requested.
Namespace:
System.ThreadingAssembly: Bridge (in Bridge.dll)
Exceptions
Exception | Condition |
---|---|
System..::..OperationCanceledException | The token has had cancellation requested. |
ObjectDisposedException | The associated CancellationTokenSource has been disposed. |