Gets or sets a value that indicates whether the service can handle session change events received from a Terminal Server session.

Namespace:   System.ServiceProcess
Assembly:  System.ServiceProcess (in System.ServiceProcess.dll)

public bool CanHandleSessionChangeEvent { get; set; }
property bool CanHandleSessionChangeEvent {
	bool get();
	void set(bool value);
member CanHandleSessionChangeEvent : bool with get, set
Public Property CanHandleSessionChangeEvent As Boolean

Property Value


true if the service can handle Terminal Server session change events; otherwise, false.

Exception Condition

This property is modified after the service was started.

.NET Framework
Available since 2.0
Return to top