Equals Method (CancellationTokenRegistration)
Collapse the table of content
Expand the table of content

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.

Namespace:  System.Threading
Assembly:  mscorlib (in mscorlib.dll)

public bool Equals(
	CancellationTokenRegistration other
)

Parameters

other
Type: System.Threading.CancellationTokenRegistration
The other CancellationTokenRegistration to which to compare this instance.

Return Value

Type: System.Boolean
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

IEquatable<T>.Equals(T)

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft