UnhandledExceptionEventHandler 대리자

정의

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

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

매개 변수

sender
Object

이벤트의 출처입니다.

e
UnhandledExceptionEventArgs

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

예제

WindowsFormsApplicationBase.UnhandledException

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

설명

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

확장명 메서드

Name Description
GetMethodInfo(Delegate)

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

적용 대상