Equals Method (Object)
Collapse the table of content
Expand the table of content

CancellationTokenRegistration.Equals Method (Object)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

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

'Declaration
Public Overrides Function Equals ( _
	obj As Object _
) As Boolean

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.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft