ערוך

שתף באמצעות


CancellationTokenRegistration.Equals Method

Definition

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

Overloads

Equals(Object)

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

Equals(CancellationTokenRegistration)

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

Equals(Object)

Source:
CancellationTokenRegistration.cs
Source:
CancellationTokenRegistration.cs
Source:
CancellationTokenRegistration.cs

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);
public override bool Equals (object? obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

Parameters

obj
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

Applies to

Equals(CancellationTokenRegistration)

Source:
CancellationTokenRegistration.cs
Source:
CancellationTokenRegistration.cs
Source:
CancellationTokenRegistration.cs

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

other
CancellationTokenRegistration

The other CancellationTokenRegistration to which to compare this instance.

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