SessionSwitchEventArgs(SessionSwitchReason) 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
使用指定的会话更改事件类型 identifer 初始化类的新实例 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 会话更改事件的类型。