Share via


UnhandledExceptionEventArgs.Handled 속성

정의

예외가 처리되었는지를 나타내는 값을 가져오거나 설정합니다.

public:
 property bool Handled { bool get(); void set(bool value); };
bool Handled();

void Handled(bool value);
public bool Handled { get; set; }
var boolean = unhandledExceptionEventArgs.handled;
unhandledExceptionEventArgs.handled = boolean;
Public Property Handled As Boolean

속성 값

Boolean

bool

true 예외를 처리됨으로 표시하려면 이벤트 시스템이 예외를 더 이상 처리해서는 안 됨을 나타냅니다. 그렇지 않으면 입니다 false.

설명

이 값을 true로 정기적으로 설정하지 마세요. 항상 안전하지는 않으며 앱이 종료되지 않을 수도 있습니다. 자세한 내용은 예외 처리(C# 프로그래밍 가이드)UnhandledException의 설명을 참조하세요.

적용 대상

추가 정보