Executes when a change event is received from a Terminal Server session.
Assembly: System.ServiceProcess (in System.ServiceProcess.dll)
You must set the CanHandleSessionChangeEvent property to true to enable the execution of this method.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.