SessionEndReasons

SessionEndReasons serializable

Microsoft.Win32 (system.dll) enum

This enumeration specifies information for the Reason property of the SessionEndingEventArgs and SessionEndedEventArgs event arguments. It specifies whether the user who started the current application is logging off ( Logoff ) (in which case the system may continue to run) or whether the operating system is shutting down ( SystemShutdown ).

 public enum  SessionEndReasons  {  Logoff = 1  ,  SystemShutdown = 2  } 

Hierarchy

System.Object System.ValueType System.Enum(System.IComparable, System.IFormattable , System.IConvertible) SessionEndReasons

Returned By

SessionEndedEventArgs.Reason , SessionEndingEventArgs.Reason

Passed To

SessionEndedEventArgs.SessionEndedEventArgs( ) , SessionEndingEventArgs.SessionEndingEventArgs( )



C# in a Nutshell
C # in a Nutshell, Second Edition
ISBN: 0596005261
EAN: 2147483647
Year: 2005
Pages: 963

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net