ServiceBase.OnSessionChange(SessionChangeDescription) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Executes when a change event is received from a Terminal Server session.
protected:
virtual void OnSessionChange(System::ServiceProcess::SessionChangeDescription changeDescription);
protected virtual void OnSessionChange (System.ServiceProcess.SessionChangeDescription changeDescription);
abstract member OnSessionChange : System.ServiceProcess.SessionChangeDescription -> unit
override this.OnSessionChange : System.ServiceProcess.SessionChangeDescription -> unit
Protected Overridable Sub OnSessionChange (changeDescription As SessionChangeDescription)
Parameters
- changeDescription
- SessionChangeDescription
A structure that identifies the change type.
Remarks
You must set the CanHandleSessionChangeEvent property to true
to enable the execution of this method.
Applies to
See also
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.