CancellationToken Methods

CancellationToken Methods

.NET Framework (current version)
 

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

NameDescription
System_CAPS_pubmethodEquals(CancellationToken)

Determines whether the current CancellationToken instance is equal to the specified token.

System_CAPS_pubmethodEquals(Object)

Determines whether the current CancellationToken instance is equal to the specified Object.(Overrides ValueType.Equals(Object).)

System_CAPS_pubmethodGetHashCode()

Serves as a hash function for a CancellationToken.(Overrides ValueType.GetHashCode().)

System_CAPS_pubmethodGetType()

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

System_CAPS_pubmethodRegister(Action)

Registers a delegate that will be called when this CancellationToken is canceled.

System_CAPS_pubmethodRegister(Action, Boolean)

Registers a delegate that will be called when this CancellationToken is canceled.

System_CAPS_pubmethodRegister(Action<Object>, Object)

Registers a delegate that will be called when this CancellationToken is canceled.

System_CAPS_pubmethodRegister(Action<Object>, Object, Boolean)

Registers a delegate that will be called when this CancellationToken is canceled.

System_CAPS_pubmethodThrowIfCancellationRequested()

Throws a OperationCanceledException if this token has had cancellation requested.

System_CAPS_pubmethodToString()

Returns the fully qualified type name of this instance.(Inherited from ValueType.)

Return to top
Show:
© 2016 Microsoft