CancellationTokenRegistration.Equality Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The first instance.
The second instance.
Returns
true
if the instances are equal; otherwise, false
.