Export (0) Print
Expand All

CancellationTokenSource.CancelAfter Method

.NET Framework 4.5

Schedules a cancel operation on this 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 CancelAfter(Int32) Schedules a cancel operation on this CancellationTokenSource after the specified number of milliseconds.
Public method CancelAfter(TimeSpan) Schedules a cancel operation on this CancellationTokenSource after the specified time span.
Top
Show:
© 2014 Microsoft