GetHashCode Method
Collapse the table of content
Expand the table of content

CancellationToken.GetHashCode Method

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

Serves as a hash function for a CancellationToken.

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

public override int GetHashCode()

Return Value

Type: System.Int32
A hash code for the current CancellationToken instance.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft