Assembly: System (in system.dll)
|ConsoleConnect||A session has been connected from the console.|
|ConsoleDisconnect||A session has been disconnected from the console.|
|RemoteConnect||A session has been connected from a remote connection.|
|RemoteDisconnect||A session has been disconnected from a remote connection.|
|SessionLock||A session has been locked.|
|SessionLogoff||A user has logged off from a session.|
|SessionLogon||A user has logged on to a session.|
|SessionRemoteControl||A session has changed its status to or from remote controlled mode.|
|SessionUnlock||A session has been unlocked.|
The SessionSwitchEventArgs class uses the SessionSwitchReason class to represent the type of a session switch event.
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.