CancellationTokenSource Methods
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() | Cancel() | Communicates a request for cancellation. |
![]() | Cancel(Boolean) | Communicates a request for cancellation, and specifies whether remaining callbacks and cancelable operations should be processed. |
![]() | 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. |
![]() ![]() | CreateLinkedTokenSource(CancellationToken, CancellationToken) | Creates a CancellationTokenSource that will be in the canceled state when any of the source tokens are in the canceled state. |
![]() ![]() | CreateLinkedTokenSource(array<CancellationToken>^) | Creates a CancellationTokenSource that will be in the canceled state when any of the source tokens in the specified array are in the canceled state. |
![]() | Dispose() | Releases all resources used by the current instance of the CancellationTokenSource class. |
![]() | Dispose(Boolean) | Releases the unmanaged resources used by the CancellationTokenSource class and optionally releases the managed resources. |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |


