SessionSwitchReason 枚举
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
定义用于表示会话切换事件的类型的标识符。
public enum class SessionSwitchReason
public enum SessionSwitchReason
type SessionSwitchReason =
Public Enum SessionSwitchReason
- 继承
字段
| 名称 | 值 | 说明 |
|---|---|---|
| ConsoleConnect | 1 | 会话已从控制台进行连接。 |
| ConsoleDisconnect | 2 | 会话已与主机断开连接。 |
| RemoteConnect | 3 | 会话已从远程连接进行连接。 |
| RemoteDisconnect | 4 | 会话已与远程连接断开连接。 |
| SessionLogon | 5 | 用户已登录到会话。 |
| SessionLogoff | 6 | 用户已从会话注销。 |
| SessionLock | 7 | 会话已锁定。 |
| SessionUnlock | 8 | 会话已解锁。 |
| SessionRemoteControl | 9 | 会话已将其状态更改为远程控制模式或从远程控制模式更改。 |
注解
该 SessionSwitchEventArgs 类使用 SessionSwitchReason 类来表示会话切换事件的类型。