ShutdownEventHandler 대리자

정의

My.Application.Shutdown 이벤트를 처리할 메서드를 나타냅니다.

public delegate void ShutdownEventHandler(System::Object ^ sender, EventArgs ^ e);
public delegate void ShutdownEventHandler(object sender, EventArgs e);
type ShutdownEventHandler = delegate of obj * EventArgs -> unit
Public Delegate Sub ShutdownEventHandler(sender As Object, e As EventArgs)

매개 변수

sender
Object

이벤트 소스입니다.

e
EventArgs

이벤트 데이터를 포함하는 EventArgs 개체입니다.

예제

WindowsFormsApplicationBase.Shutdown

Visual Basic 애플리케이션 모델 개요

설명

Visual Basic에서는이 대리자를 명시적으로 작업할 필요가 없습니다. 자세한 내용은 Shutdown를 참조하세요.

확장 메서드

GetMethodInfo(Delegate)

지정된 대리자가 나타내는 메서드를 나타내는 개체를 가져옵니다.

적용 대상