ServiceBase.CanHandleSessionChangeEvent 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定一個值,指示服務是否能處理從終端伺服器會話接收到的會話變更事件。
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
- 屬性
例外狀況
這項財產在服務開始後會有所調整。