Bridge

CancellationToken..::..ThrowIfCancellationRequested Method

Throws a OperationCanceledException if this token has had cancellation requested.

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

Syntax


public void ThrowIfCancellationRequested()
Public Sub ThrowIfCancellationRequested
public:
void ThrowIfCancellationRequested()

Exceptions


ExceptionCondition
System..::..OperationCanceledExceptionThe token has had cancellation requested.
ObjectDisposedExceptionThe associated CancellationTokenSource has been disposed.