//------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //------------------------------------------------------------------------------ /* */ namespace Microsoft.Win32 { using System.Diagnostics; using System; /// /// Specifies how the current /// logon session is ending. /// public enum SessionEndReasons { /// /// The user is logging off. The system may continue /// running but the user who started this application /// is logging off. /// Logoff = 1, /// /// The system is shutting down. /// SystemShutdown = 2, } }