Export (0) Print
Expand All

CancellationTokenRegistration.Equals Method (Object)

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

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

public override bool Equals(
	Object obj
)

Parameters

obj
Type: System.Object
The other object to which to compare this instance.

Return Value

Type: System.Boolean
True, if both this and obj 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.

Silverlight

Supported in: 5

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

Community Additions

ADD
Show:
© 2014 Microsoft