Share via


CancellationTokenRegistration.Equality Operator

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

Determines whether two CancellationTokenRegistration instances are equal.

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

Syntax

'Declaration
Public Shared Operator = ( _
    left As CancellationTokenRegistration, _
    right As CancellationTokenRegistration _
) As Boolean
public static bool operator ==(
    CancellationTokenRegistration left,
    CancellationTokenRegistration right
)

Parameters

Return Value

Type: System.Boolean
True if the instances are equal; otherwise, false.

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.