CancellationTokenSource Constructor

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:
© 2016 Microsoft