.NET Framework Class Library |
CancellationTokenRegistration Methods |
CancellationTokenRegistration Structure See Also Send Feedback |
The CancellationTokenRegistration type exposes the following members.
Methods
Name | Description | |
---|---|---|
Dispose |
Disposes of the registration and unregisters the target callback from the associated
CancellationToken.
If the target callback is currently executing this method will wait until it completes, except
in the degenerate cases where a callback method deregisters itself.
| |
Equals | Overloaded. | |
Finalize | (Inherited from Object.) | |
GetHashCode |
Serves as a hash function for a CancellationTokenRegistration..
(Overrides ValueType..::.GetHashCode()()().) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from ValueType.) |
Operators
Name | Description | |
---|---|---|
Equality |
Determines whether two CancellationTokenRegistration
instances are equal.
| |
Inequality |
Determines whether two CancellationTokenRegistration instances are not equal.
|