CancellationTokenSource Constructor

CancellationTokenSource Constructor

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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.

  NameDescription
Public method CancellationTokenSource() Initializes the CancellationTokenSource.
Public method CancellationTokenSource(Int32) Constructs a CancellationTokenSource that will be canceled after a specified time span.
Public method CancellationTokenSource(TimeSpan) Constructs a CancellationTokenSource that will be canceled after a specified time span.
Top

Show:
© 2017 Microsoft