Sdílet prostřednictvím


ServiceBase.OnSessionChange(SessionChangeDescription) Metoda

Definice

Spustí se při přijetí události změny z relace terminálového serveru.

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)

Parametry

changeDescription
SessionChangeDescription

Struktura, která identifikuje typ změny.

Poznámky

Chcete-li true povolit provádění této metody, je nutné nastavit CanHandleSessionChangeEvent vlastnost.

Platí pro

Viz také