C# Class Thinktecture.ServiceModel.Dispatcher.ExceptionMappingErrorHandler

Inheritance: IErrorHandler
Afficher le fichier Open project: ChristianWeyer/Thinktecture.ServiceModel

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
GetFaultDetail ( MethodInfo method, FaultDescriptionCollection faults, Exception error ) : object

Gets the fault detail.

Method Details

ExceptionMappingErrorHandler() public méthode

Initializes a new instance of the ExceptionMappingErrorHandler class.
public ExceptionMappingErrorHandler ( ExceptionHandlingAttribute attribute ) : System
attribute ExceptionHandlingAttribute The attribute.
Résultat System

HandleError() public méthode

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.
Résultat bool

ProvideFault() public méthode

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.
Résultat void