SessionSwitchEventArgs(SessionSwitchReason) Constructor

Definition

Initializes a new instance of the SessionSwitchEventArgs class using the specified session change event type identifer.

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

Parameters

reason
SessionSwitchReason

A SessionSwitchReason that indicates the type of session change event.

Applies to

See also