C# 클래스 Catel.ExceptionHandling.ExceptionHandler

This implements the exception treatment mechanics.
상속: IExceptionHandler
파일 보기 프로젝트 열기: Catel/Catel 1 사용 예제들

공개 메소드들

메소드 설명
ExceptionHandler ( Type exceptionType, Action action, ExceptionPredicate filter = null ) : System

Initializes a new instance of the ExceptionHandler class.

Handle ( Exception exception ) : void

Handles the exception using the action that was passed into the constructor.

메소드 상세

ExceptionHandler() 공개 메소드

Initializes a new instance of the ExceptionHandler class.
The is null. The is null.
public ExceptionHandler ( Type exceptionType, Action action, ExceptionPredicate filter = null ) : System
exceptionType System.Type Type of the exception.
action Action The action to execute.
filter ExceptionPredicate The exception filter.
리턴 System

Handle() 공개 메소드

Handles the exception using the action that was passed into the constructor.
The is null.
public Handle ( Exception exception ) : void
exception System.Exception The exception.
리턴 void