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
继承
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.

注解

SessionSwitchEventArgsSessionSwitchReason使用类来表示会话切换事件的类型。The SessionSwitchEventArgs class uses the SessionSwitchReason class to represent the type of a session switch event.

适用于

另请参阅