SessionSwitchReason 列舉
定義
定義用來表示工作階段切換事件型別的識別項。Defines identifiers used to represent the type of a session switch event.
public enum class SessionSwitchReason
public enum SessionSwitchReason
type SessionSwitchReason =
Public Enum SessionSwitchReason
- 繼承
欄位
ConsoleConnect | 1 | 已經從主控台連接工作階段。A session has been connected from the console. |
ConsoleDisconnect | 2 | 主控台已經中斷與工作階段的連接。A session has been disconnected from the console. |
RemoteConnect | 3 | 已經從遠端連線連接工作階段。A session has been connected from a remote connection. |
RemoteDisconnect | 4 | 遠端連線已經中斷與工作階段的連接。A session has been disconnected from a remote connection. |
SessionLock | 7 | 已鎖定工作階段。A session has been locked. |
SessionLogoff | 6 | 使用者已經登出工作階段。A user has logged off from a session. |
SessionLogon | 5 | 使用者已登入工作階段。A user has logged on to a session. |
SessionRemoteControl | 9 | 工作階段已將其狀態變更為遠端控制模式,或是已從遠端控制模式變更其狀態。A session has changed its status to or from remote controlled mode. |
SessionUnlock | 8 | 已經解除鎖定工作階段。A session has been unlocked. |
備註
SessionSwitchEventArgs類別會使用 SessionSwitchReason 類別來表示會話切換事件的類型。The SessionSwitchEventArgs class uses the SessionSwitchReason class to represent the type of a session switch event.