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

SessionSwitchReason ,表示工作階段變更事件的型別。

適用於

另請參閱