GetHashCode Method

Task Parallel System.Threading

Serves as a hash function for a CancellationToken.

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

Syntax

Visual Basic (Declaration)
Public Overrides Function GetHashCode As Integer
C#
public override int GetHashCode()

Return Value

A hash code for the current CancellationToken instance.

See Also