CancellationTokenSource Methods

 

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

NameDescription
System_CAPS_pubmethodCancel()

Communicates a request for cancellation.

System_CAPS_pubmethodCancel(Boolean)

Communicates a request for cancellation, and specifies whether remaining callbacks and cancelable operations should be processed.

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.

System_CAPS_pubmethodSystem_CAPS_staticCreateLinkedTokenSource(CancellationToken, CancellationToken)

Creates a CancellationTokenSource that will be in the canceled state when any of the source tokens are in the canceled state.

System_CAPS_pubmethodSystem_CAPS_staticCreateLinkedTokenSource(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.

System_CAPS_pubmethodDispose()

Releases all resources used by the current instance of the CancellationTokenSource class.

System_CAPS_protmethodDispose(Boolean)

Releases the unmanaged resources used by the CancellationTokenSource class and optionally releases the managed resources.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

Return to top
Show: