CancellationTokenSource Constructor (Int32)
May 02, 2013
Constructs a CancellationTokenSource that will be canceled after a specified time span.
Assembly: mscorlib (in mscorlib.dll)
The exception that is thrown when millisecondsDelay is less than -1.
The countdown for the millisecondsDelay starts during the call to the constructor. When the millisecondsDelay expires, the constructed CancellationTokenSource is canceled (if it has not been canceled already).