ServiceBase::OnSessionChange Method (SessionChangeDescription)
.NET Framework (current version)
Executes when a change event is received from a Terminal Server session.
Assembly: System.ServiceProcess (in System.ServiceProcess.dll)
Parameters
- changeDescription
-
Type:
System.ServiceProcess::SessionChangeDescription
A structure that identifies the change type.
You must set the CanHandleSessionChangeEvent property to true to enable the execution of this method.
.NET Framework
Available since 2.0
Available since 2.0
Show: