System.Threading.CancellationToken
Propogates notification that operations should be canceled.
Returns an empty CancellationToken value.
Gets whether this token is capable of being in the canceled state.
Gets whether cancellation has been requested for this token.
Gets a WaitHandle that is signaled when the token is canceled.
Initializes the CancellationTokenCancellationToken.
Determines whether two CancellationTokenCancellationToken instances are equal.
Determines whether two CancellationTokenCancellationToken instances are not equal.
Determines whether the current CancellationTokenCancellationToken instance is equal to the
specified token.
Registers a delegate that will be called when this CancellationTokenCancellationToken is canceled.
Registers a delegate that will be called when this
CancellationTokenCancellationToken is canceled.
Registers a delegate that will be called when this
CancellationTokenCancellationToken is canceled.
public CancellationTokenRegistration Register(Action<object> callback, object state, bool useSynchronizationContext)
Registers a delegate that will be called when this
CancellationTokenCancellationToken is canceled.
Throws a OperationCanceledExceptionOperationCanceledException if
this token has had cancellation requested.