Represents a callback delegate that has been registered with a CancellationToken.
Assembly: mscorlib (in mscorlib.dll)
Releases all resources used by the current instance of theclass.
Determines whether the currentinstance is equal to the specified .
Determines whether the current ValueType.Equals(Object).)instance is equal to the specified .(Overrides
Serves as a hash function for a ValueType.GetHashCode().).(Overrides
Returns the fully qualified type name of this instance.(Inherited from ValueType.)
Determines whether twoinstances are equal.
Determines whether twoinstances are not equal.
The callback is called when the token is canceled. To unregister a callback, dispose the corresponding Registration instance. For more information and code examples see Cancellation in Managed Threads.
Available since 4.5
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Available since 5.0
Windows Phone Silverlight
Available since 8.0
Available since 8.1
All public and protected members ofare thread-safe and may be used concurrently from multiple threads, with the exception of Dispose, which must only be used when all other operations on the have completed.