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.
- 特性
例外
启动服务后,将修改此属性。