Diagram.UnhandledException(Exception) 메서드

정의

핵심 디자인 화면에서 만든 트랜잭션이 예외를 throw할 때 호출됩니다. 이 메서드가 true를 반환하면 예외가 무시됩니다. 그렇지 않으면 기본 .Net Framework 예외 처리 코드까지 파급됩니다. 파생 클래스는 예외 처리 및 오류 메시지를 사용자 지정하기 위해 이 메서드를 재정의할 수 있습니다. 기본 클래스는 false를 반환합니다. 즉, 모든 예외가 throw됩니다.

public:
 virtual bool UnhandledException(Exception ^ ex);
public virtual bool UnhandledException (Exception ex);
abstract member UnhandledException : Exception -> bool
override this.UnhandledException : Exception -> bool
Public Overridable Function UnhandledException (ex As Exception) As Boolean

매개 변수

ex
Exception

코어 디자인 화면 트랜잭션 중에 throw되는 예외입니다.

반환

True이면 핵심 디자인 화면이 예외를 삼킬 수 없습니다. 그렇지 않으면 false(예, 삼킬 수 있음)

적용 대상