CancellationTokenSource.CancelAfter Method

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: