Collapse All Expand All

C#

Q-Pulse Web Services
ErrorHandlerBehaviorAttribute..::..ProvideFault Method
ErrorHandlerBehaviorAttribute Class See Also Send Feedback

[This is preliminary documentation and is subject to change.]

Enables the creation of a custom FaultException<(Of <(<'TDetail>)>)> that is returned from an exception in the course of a service method.

Namespace: QPulseWebServices.Core.ExceptionHandling
Assembly: QPulseWebServices (in QPulseWebServices.dll) Version: 2.100.6201.127

# Syntax

C#
    public void ProvideFault(
    	Exception error,
    	MessageVersion version,
    	ref Message msg
    )

#### Parameters

error
  Type: System..::..Exception
  The Exception object thrown in the course of the service operation.

version
  Type: System.ServiceModel.Channels..::..MessageVersion
  The SOAP version of the message.

msg
  Type: System.ServiceModel.Channels..::..Message%
  The Message object that is returned to the client, or service, in the duplex case.

#### Implements

IErrorHandler..::..ProvideFault(Exception, MessageVersion, Message%)

# See Also

ErrorHandlerBehaviorAttribute Class
ErrorHandlerBehaviorAttribute..::..ErrorHandlerBehaviorAttribute Members
QPulseWebServices.Core.ExceptionHandling Namespace