CancellationToken Members
The CancellationToken type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
Register(Action) | |
![]() |
Register(Action, Boolean) | |
![]() |
Register(Action<(Of <<'(Object>)>>), Object) | |
![]() |
Register(Action<(Of <<'(Object>)>>), Object, Boolean) | |
![]() |
ThrowIfCancellationRequested |
Throws a OperationCanceledException if this token has had cancellation requested.
|
Properties
Name | Description | |
---|---|---|
![]() |
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.
|