Export (0) Print
Expand All

CancellationTokenSource Constructor

.NET Framework 4.5

Initializes the CancellationTokenSource.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method CancellationTokenSource() Initializes a new instance of the CancellationTokenSource class.
Public method CancellationTokenSource(Int32) Initializes a new instance of the CancellationTokenSource class that will be canceled after the specified delay in milliseconds.
Public method CancellationTokenSource(TimeSpan) Initializes a new instance of the CancellationTokenSource class that will be canceled after the specified time span.
Top
Show:
© 2014 Microsoft