語言

ServiceBase.CanHandleSessionChangeEvent 屬性

定義

取得或設定一個值,指示服務是否能處理從終端伺服器會話接收到的會話變更事件。

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

屬性值

true若服務能處理終端伺服器會話變更事件;否則,。 false

屬性

例外狀況

這項財產在服務開始後會有所調整。

適用於

另請參閱