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 | |
|---|---|---|
|
CancelAfter(Int32) | Schedules a cancel operation on this CancellationTokenSource after the specified number of milliseconds. |
|
CancelAfter(TimeSpan) | Schedules a cancel operation on this CancellationTokenSource after the specified time span. |