Enum SessionEndReasons Path C++ Link Microsoft.Win32.SessionEndReasons, System underlying int32 System Values 2 NameValueHex Logoff10x01SystemShutdown20x02 Used by 2types with a member, parameter or interface of this type SessionEndedEventArgsSessionEndingEventArgs // Microsoft.Win32.SessionEndReasons, System enum class SessionEndReasons : int32 { Logoff = 1, SystemShutdown = 2, };