SessionSwitchEventArgs(SessionSwitchReason) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
使用指定的會話變更事件類型識別器初始化該類別的新 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 表示會話變更事件的類型。