Share via


ServiceBase.CanHandleSessionChangeEvent 屬性

定義

取得或設定值,指出服務是否可以處理從 Terminal Server 工作階段所擷取的工作階段變更事件。

public:
 property bool CanHandleSessionChangeEvent { bool get(); void set(bool value); };
public bool CanHandleSessionChangeEvent { get; set; }
[System.Runtime.InteropServices.ComVisible(false)]
public bool CanHandleSessionChangeEvent { get; set; }
member this.CanHandleSessionChangeEvent : bool with get, set
[<System.Runtime.InteropServices.ComVisible(false)>]
member this.CanHandleSessionChangeEvent : bool with get, set
Public Property CanHandleSessionChangeEvent As Boolean

屬性值

Boolean

如果服務可以處理 Terminal Server 工作階段的變更事件則為 true,否則為 false

屬性

例外狀況

這個屬性在服務啟動之後被修改。

適用於

另請參閱