CancellationTokenRegistration.Equals Method (CancellationTokenRegistration)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

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

Syntax

'Declaration
Public Function Equals ( _
    other As CancellationTokenRegistration _
) As Boolean
public bool Equals(
    CancellationTokenRegistration other
)

Parameters

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)

Version Information

Silverlight

Supported in: 5

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.