SessionEndingEventHandler

SessionEndingEventHandler serializable

Microsoft.Win32 (system.dll) delegate

This delegate defines the signature that an event handler must use to receive the SystemEvents.SessionEnding event. This event is raised when the user has chosen to log off or shutdown the system. It occurs before the SystemEvents.SessionEnded event. SessionEndingEventArgs provides a Cancel property, which you can set in the event handler to cancel the pending shutdown.

 public delegate void  SessionEndingEventHandler  (object   sender   , SessionEndingEventArgs   e   ); 

Associated Events

SystemEvents.SessionEnding( )



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