CancellationTokenRegistration.Equals Method (CancellationTokenRegistration)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Determines whether the current CancellationTokenRegistration instance is equal to the specified CancellationTokenRegistration.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- other
- Type: System.Threading.CancellationTokenRegistration
The other CancellationTokenRegistration to which to compare this instance.
Return Value
Type: System.BooleanTrue, 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
IEquatable<T>.Equals(T)
Show: