CancellationToken Properties

Task Parallel System.Threading

The CancellationToken type exposes the following members.

Properties

  NameDescription
CanBeCanceled
Gets whether this token is capable of being in the canceled state.
IsCancellationRequested
Gets whether cancellation has been requested for this token.
None
Returns an empty CancellationToken value.
WaitHandle
Gets a WaitHandle that is signaled when the token is canceled.

See Also