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
| 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. |
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)