SessionEndingEventArgs(SessionEndReasons) Constructor

Definition

Initializes a new instance of the SessionEndingEventArgs class using the specified value indicating the type of session close event that is occurring.

public:
 SessionEndingEventArgs(Microsoft::Win32::SessionEndReasons reason);
public SessionEndingEventArgs (Microsoft.Win32.SessionEndReasons reason);
new Microsoft.Win32.SessionEndingEventArgs : Microsoft.Win32.SessionEndReasons -> Microsoft.Win32.SessionEndingEventArgs
Public Sub New (reason As SessionEndReasons)

Parameters

reason
SessionEndReasons

One of the SessionEndReasons that specifies how the session ends.

Applies to