Equality Operator

Task Parallel System.Threading

Determines whether two CancellationTokenRegistration instances are equal.

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

Syntax

Visual Basic (Declaration)
Public Shared Operator = ( _
	left As CancellationTokenRegistration, _
	right As CancellationTokenRegistration _
) As Boolean
C#
public static bool operator ==(
	CancellationTokenRegistration left,
	CancellationTokenRegistration right
)

Parameters

left
Type: System.Threading..::.CancellationTokenRegistration
The first instance.
right
Type: System.Threading..::.CancellationTokenRegistration
The second instance.

Return Value

True if the instances are equal; otherwise, false.

See Also