CancellationTokenSource Constructor (Int32)
Initializes a new instance of the CancellationTokenSource class that will be canceled after the specified delay in milliseconds.
Assembly: mscorlib (in mscorlib.dll)
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).
Available since 8
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone Silverlight
Available since 8.0
Available since 8.1