Click or drag to resize

JsonFaultHandlerProvideFault Method

Enables the creation of a custom FaultException that is returned from an exception in the course of a service method.

Namespace: GSF.ServiceModel
Assembly: GSF.ServiceModel (in GSF.ServiceModel.dll) Version: 2.4.218-beta
Syntax
public void ProvideFault(
	Exception error,
	MessageVersion version,
	ref Message fault
)
View Source

Parameters

error  Exception
The Exception object thrown in the course of the service operation.
version  MessageVersion
The SOAP version of the message.
fault  Message
The Message object that is returned to the client, or service, in the duplex case.

Implements

IErrorHandlerProvideFault(Exception, MessageVersion, Message)
See Also