Namespace:
System.Threading
Assembly:
System.Threading (in System.Threading.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Overrides Function Equals ( _
obj As Object _
) As Boolean |
C# |
---|
public override bool Equals(
Object obj
) |
Parameters
- obj
- Type: System..::.Object
The other object to which to compare this instance.
Return Value
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.
See Also