Microsoft.Win32 (system.dll)delegate

This delegate defines the signature that an event handler must use to receive the SystemEvents.SessionEnded event. This event is raised just before the system finishes its logoff or shutdown procedure.

public delegate void SessionEndedEventHandler(object sender, SessionEndedEventArgs e);

Associated Events

SystemEvents.SessionEnded( )

    Part II: Programming with the .NET Framework
    Part IV: API Quick Reference
    Chapter 26. System