CancellationTokenRegistration.Equals CancellationTokenRegistration.Equals CancellationTokenRegistration.Equals CancellationTokenRegistration.Equals Method

Definition

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

Overloads

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

Equals(CancellationTokenRegistration) Equals(CancellationTokenRegistration) Equals(CancellationTokenRegistration) Equals(CancellationTokenRegistration)

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

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

Parameters

obj
Object Object Object Object

The other object to which to compare this instance.

Returns

true if both this and obj are equal. False, otherwise.

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

See also

Equals(CancellationTokenRegistration) Equals(CancellationTokenRegistration) Equals(CancellationTokenRegistration) Equals(CancellationTokenRegistration)

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

public:
 virtual bool Equals(System::Threading::CancellationTokenRegistration other);
public bool Equals (System.Threading.CancellationTokenRegistration other);
override this.Equals : System.Threading.CancellationTokenRegistration -> bool
Public Function Equals (other As CancellationTokenRegistration) As Boolean

Parameters

Returns

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

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

Implements

See also

Applies to