SessionChangeDescription.GetHashCode Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets a hash code for the current session change description.

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

public override int GetHashCode()

Return Value

Type: System.Int32

A hash code for the current session change description.

The returned hash code is calculated from the values of the Reason and SessionId properties. The hash code should not be used to compare SessionChangeDescription instances.

.NET Framework
Available since 2.0
Return to top
Show: