SessionChangeDescription.Equals Method (Object)
Determines whether the specified object is equal to the current session change description.
Assembly: System.ServiceProcess (in System.ServiceProcess.dll)
The return value is false if obj is not a SessionChangeDescription or if it is null. Equality is determined by comparing the Reason and SessionId properties of the specified SessionChangeDescription structure to the Reason and SessionId properties of the current SessionChangeDescription structure. The two structures are considered equal if their properties are equal.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)