語言

SessionSwitchEventArgs(SessionSwitchReason) 建構函式

定義

使用指定的會話變更事件類型識別器初始化該類別的新 SessionSwitchEventArgs 實例。

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)

參數

reason
SessionSwitchReason

A SessionSwitchReason 表示會話變更事件的類型。

適用於

另請參閱