This documentation is archived and is not being maintained.
SessionChangeDescription Structure
Visual Studio 2010
Identifies the reason for a Terminal Services session change.
Assembly: System.ServiceProcess (in System.ServiceProcess.dll)
The SessionChangeDescription type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified object is equal to the current session change description. (Overrides ValueType::Equals(Object).) |
![]() | Equals(SessionChangeDescription) | Determines whether the specified session change description is equal to the current session change description. |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Gets a hash code for the current session change description. (Overrides ValueType::GetHashCode().) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
| Name | Description | |
|---|---|---|
![]() ![]() | Equality | Returns a value indicating whether two SessionChangeDescription structures are equal. |
![]() ![]() | Inequality | Returns a value indicating whether two SessionChangeDescription structures are not equal. |
The following code example shows the use of the SessionChangeDescription class in an implementation of the OnSessionChange method in a class derived from ServiceBase. This code example is part of a larger example provided for the ServiceBase class.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
