The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
CancellationTokenSource::CancelAfter Method
.NET Framework (current version)
Schedules a cancel operation on this CancellationTokenSource.
Assembly: mscorlib (in mscorlib.dll)
| 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. |
Show:
