CancellationToken.Register Method (Action<Object>, Object)
November 03, 2013
Registers a delegate that will be called when this CancellationToken is canceled.
Assembly: mscorlib (in mscorlib.dll)
- Type: System.Action<Object>
The delegate to be executed when the CancellationToken is canceled.
- Type: System.Object
The state to pass to the callback when the delegate is invoked. This may be null.