Redigera

Dela via


CancellationTokenRegistration.Equality Operator

Definition

Determines whether two CancellationTokenRegistration instances are equal.

public:
 static bool operator ==(System::Threading::CancellationTokenRegistration left, System::Threading::CancellationTokenRegistration right);
public static bool operator == (System.Threading.CancellationTokenRegistration left, System.Threading.CancellationTokenRegistration right);
static member ( = ) : System.Threading.CancellationTokenRegistration * System.Threading.CancellationTokenRegistration -> bool
Public Shared Operator == (left As CancellationTokenRegistration, right As CancellationTokenRegistration) As Boolean

Parameters

left
CancellationTokenRegistration

The first instance.

right
CancellationTokenRegistration

The second instance.

Returns

true if the instances are equal; otherwise, false.

Applies to

See also