Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SessionEndReasons Enumeration

SessionEndReasons Enumeration

Specifies how the current logon session is ending.

[Visual Basic]
<Serializable>
Public Enum SessionEndReasons
[C#]
[Serializable]
public enum SessionEndReasons
[C++]
[Serializable]
__value public enum SessionEndReasons
[JScript]
public
   Serializable
enum SessionEndReasons

Members

Member name Description
Logoff The user is logging off. The operating system continues to run, but the user who started this application is logging off.
SystemShutdown The operating system is shutting down.

Requirements

Namespace: Microsoft.Win32

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System (in System.dll)

See Also

Microsoft.Win32 Namespace

Show:
© 2015 Microsoft