SessionEndedEventArgs Class

Definition

Provides data for the SessionEnded event.

public ref class SessionEndedEventArgs : EventArgs
public class SessionEndedEventArgs : EventArgs
type SessionEndedEventArgs = class
    inherit EventArgs
Public Class SessionEndedEventArgs
Inherits EventArgs
Inheritance
SessionEndedEventArgs

Remarks

A SessionEnded event is raised when the user logs off or shuts down the system.

Constructors

SessionEndedEventArgs(SessionEndReasons)

Initializes a new instance of the SessionEndedEventArgs class.

Properties

Reason

Gets an identifier that indicates how the session ended.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also