SessionSwitchEventArgs 類別
定義
提供 SessionSwitch 事件的資料。Provides data for the SessionSwitch event.
public ref class SessionSwitchEventArgs : EventArgs
public class SessionSwitchEventArgs : EventArgs
type SessionSwitchEventArgs = class
inherit EventArgs
Public Class SessionSwitchEventArgs
Inherits EventArgs
- 繼承
備註
SessionSwitch當目前的使用者變更時,就會引發事件。A SessionSwitch event is raised when the current user changes.
建構函式
SessionSwitchEventArgs(SessionSwitchReason) |
使用指定的工作階段變更事件型別識別項,初始化 SessionSwitchEventArgs 類別的新執行個體。Initializes a new instance of the SessionSwitchEventArgs class using the specified session change event type identifer. |
屬性
Reason |
取得識別項,表示工作階段變更事件的型別。Gets an identifier that indicates the type of session change event. |
方法
Equals(Object) |
判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object. (繼承來源 Object) |
GetHashCode() |
做為預設雜湊函式。Serves as the default hash function. (繼承來源 Object) |
GetType() |
取得目前執行個體的 Type。Gets the Type of the current instance. (繼承來源 Object) |
MemberwiseClone() |
建立目前 Object 的淺層複製。Creates a shallow copy of the current Object. (繼承來源 Object) |
ToString() |
傳回代表目前物件的字串。Returns a string that represents the current object. (繼承來源 Object) |