ServiceBase.OnSessionChange(SessionChangeDescription) 메서드

정의

터미널 서버 세션에서 보낸 변경 이벤트를 받았을 때 실행합니다.

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)

매개 변수

changeDescription
SessionChangeDescription

변경 형식을 식별하는 구조체입니다.

설명

이 메서드를 CanHandleSessionChangeEvent 실행할 수 있도록 true 속성을 설정해야 합니다.

적용 대상

추가 정보