System.Threading.CancellationTokenRegistration.Equals Method

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

Syntax

public override bool Equals (object obj)

Parameters

obj
The other object to which to compare this instance.

Returns

True, if both this and obj 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