Microsoft.Win32 (system.dll)class

This class is a custom System.EventArgs object for the SystemEvents.SessionEnded delegate. It provides additional information to your event handler about why the current session has ended.

public class SessionEndedEventArgs : EventArgs {
// Public Constructors
   public SessionEndedEventArgs(SessionEndReasons reason);
// Public Instance Properties
   public SessionEndReasons Reason{get; }


System.Object System.EventArgs SessionEndedEventArgs

Passed To

SessionEndedEventHandler.{BeginInvoke( ), Invoke( )}

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