O'Reilly logo

C# in a Nutshell by Peter Drayton, Ted Neward, Ben Albahari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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()}

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required