C# Класс Catel.ExceptionHandling.ExceptionHandler

This implements the exception treatment mechanics.
Наследование: IExceptionHandler
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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