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#의 예외 처리 또는 Visual BasicUnhandledException의 비고를 참조하세요.

적용 대상

추가 정보