Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CancellationTokenSource Constructor

.NET Framework (current version)
 

Initializes the CancellationTokenSource.

Namespace:   System.Threading
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodCancellationTokenSource()

Initializes a new instance of the CancellationTokenSource class.

System_CAPS_pubmethodCancellationTokenSource(Int32)

Initializes a new instance of the CancellationTokenSource class that will be canceled after the specified delay in milliseconds.

System_CAPS_pubmethodCancellationTokenSource(TimeSpan)

Initializes a new instance of the CancellationTokenSource class that will be canceled after the specified time span.

Return to top
Show:
© 2017 Microsoft