[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.ExceptionHandlingAssembly: QPulseWebServices (in QPulseWebServices.dll) Version: 2.0.0.41
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.