C# Класс Thinktecture.ServiceModel.Dispatcher.ExceptionMappingErrorHandler

Наследование: IErrorHandler
Показать файл Открыть проект

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

Метод Описание
ExceptionMappingErrorHandler ( ExceptionHandlingAttribute attribute ) : System

Initializes a new instance of the ExceptionMappingErrorHandler class.

HandleError ( Exception error ) : bool

Enables error-related processing and returns a value that indicates whether subsequent HandleError implementations are called.

ProvideFault ( Exception exception, System.ServiceModel.Channels.MessageVersion version, Message &fault ) : void

Provides the fault.

Приватные методы

Метод Описание
GetFaultDetail ( MethodInfo method, FaultDescriptionCollection faults, Exception error ) : object

Gets the fault detail.

Описание методов

ExceptionMappingErrorHandler() публичный Метод

Initializes a new instance of the ExceptionMappingErrorHandler class.
public ExceptionMappingErrorHandler ( ExceptionHandlingAttribute attribute ) : System
attribute ExceptionHandlingAttribute The attribute.
Результат System

HandleError() публичный Метод

Enables error-related processing and returns a value that indicates whether subsequent HandleError implementations are called.
public HandleError ( Exception error ) : bool
error System.Exception The exception thrown during processing.
Результат bool

ProvideFault() публичный Метод

Provides the fault.
public ProvideFault ( Exception exception, System.ServiceModel.Channels.MessageVersion version, Message &fault ) : void
exception System.Exception The exception.
version System.ServiceModel.Channels.MessageVersion The version.
fault Message The fault.
Результат void