Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

CancellationToken.Equality Operator

Determines whether two CancellationToken instances are equal.

Namespace:  System.Threading
Assembly:  mscorlib (in mscorlib.dll)
public static bool operator ==(
	CancellationToken left,
	CancellationToken right
)

Parameters

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

Return Value

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

An associated CancellationTokenSource has been disposed.

Silverlight

Supported in: 5

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.