System.Threading.CancellationTokenRegistration.Equals Method

Determines whether the current System.Threading.CancellationTokenRegistration instance is equal to the specified System.Threading.CancellationTokenRegistration.

Syntax

public bool Equals (CancellationTokenRegistration other)

Parameters

other
The other System.Threading.CancellationTokenRegistration to which to compare this instance.

Returns

True, if both this and other are equal. False, otherwise.

Two System.Threading.CancellationTokenRegistration instances are equal if they both refer to the output of a single call to the same Register method of a System.Threading.CancellationToken.

Remarks

Documentation for this section has not yet been entered.

Requirements

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