.NET Framework Class Library |
CancellationToken Methods |
CancellationToken Structure See Also Send Feedback |
The CancellationToken type exposes the following members.
Methods
Name | Description | |
---|---|---|
Equals | Overloaded. | |
Finalize | (Inherited from Object.) | |
GetHashCode |
Serves as a hash function for a CancellationToken.
(Overrides ValueType..::.GetHashCode()()().) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
Register | Overloaded. | |
ThrowIfCancellationRequested |
Throws a OperationCanceledException if
this token has had cancellation requested.
| |
ToString | (Inherited from ValueType.) |
Operators
Name | Description | |
---|---|---|
Equality |
Determines whether two CancellationToken instances are equal.
| |
Inequality |
Determines whether two CancellationToken instances are not equal.
|