ServiceBase.CanHandleSessionChangeEvent 屬性

定義

取得或設定值,指出服務是否可以處理從 Terminal Server 工作階段所擷取的工作階段變更事件。Gets or sets a value that indicates whether the service can handle session change events received from a Terminal Server session.

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

屬性值

如果服務可以處理 Terminal Server 工作階段的變更事件則為 true,否則為 falsetrue if the service can handle Terminal Server session change events; otherwise, false.

屬性

例外狀況

這個屬性在服務啟動之後被修改。This property is modified after the service was started.

適用於

另請參閱