UnhandledExceptionEventHandler 대리자

정의

애플리케이션 도메인에서 처리되지 않는 예외에 의해 발생된 이벤트를 처리할 메서드를 나타냅니다.

public delegate void UnhandledExceptionEventHandler(System::Object ^ sender, UnhandledExceptionEventArgs ^ e);
public delegate void UnhandledExceptionEventHandler(object sender, UnhandledExceptionEventArgs e);
[System.Serializable]
public delegate void UnhandledExceptionEventHandler(object sender, UnhandledExceptionEventArgs e);
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public delegate void UnhandledExceptionEventHandler(object sender, UnhandledExceptionEventArgs e);
type UnhandledExceptionEventHandler = delegate of obj * UnhandledExceptionEventArgs -> unit
[<System.Serializable>]
type UnhandledExceptionEventHandler = delegate of obj * UnhandledExceptionEventArgs -> unit
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type UnhandledExceptionEventHandler = delegate of obj * UnhandledExceptionEventArgs -> unit
Public Delegate Sub UnhandledExceptionEventHandler(sender As Object, e As UnhandledExceptionEventArgs)

매개 변수

sender
Object

처리되지 않은 예외 이벤트의 소스입니다.

e
UnhandledExceptionEventArgs

이벤트 데이터가 포함된 UnhandledExceptionEventArgs입니다.

특성

설명

UnhandledExceptionEventHandler 시스템 애플리케이션을 실행 하는 데 만들어진 기본 애플리케이션 도메인에만 지정할 수 있습니다. 지정 하는 UnhandledExceptionEventHandler 에 대 한는 AppDomain 만든 애플리케이션에 영향을 주지 않습니다.

UnhandledExceptionEventHandler 대리자를 만드는 경우 이벤트를 처리할 메서드를 결정합니다. 이벤트 처리기를 이벤트와 연결하려면 대리자의 인스턴스를 이벤트에 추가합니다. 대리자를 제거하지 않는 경우 이벤트가 발생할 때마다 이벤트 처리기가 호출됩니다. 이벤트 처리기 대리자에 대 한 자세한 내용은 참조 하세요. 이벤트 처리 및 발생합니다.

확장 메서드

GetMethodInfo(Delegate)

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

적용 대상

추가 정보