Name

SessionEndedEventArgs

Synopsis

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 method SessionEndedEventArgs(
        SessionEndReasons reason);  
// Public Instance Properties
   public field SessionEndReasons Reason{get; } 
}

Hierarchy

System.ObjectSystem.EventArgsSessionEndedEventArgs

Passed To

SessionEndedEventHandler.{BeginInvoke(), Invoke()}

Get C# in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.