Windows apps
Collapse the table of content
Expand the table of content
Information
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.

Namespace:   System.Threading
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodCancelAfter(Int32)

Schedules a cancel operation on this CancellationTokenSource after the specified number of milliseconds.

System_CAPS_pubmethodCancelAfter(TimeSpan)

Schedules a cancel operation on this CancellationTokenSource after the specified time span.

Return to top
Show:
© 2017 Microsoft