LEADTOOLS Medical (Leadtools.Medical.Worklist.Wcf assembly)
LEAD Technologies, Inc

ProvideFault Method






The System.Exception object thrown in the course of the service operation.
The SOAP version of the message.
The System.ServiceModel.Channels.Message object that is returned to the client, or service, in the duplex case.
Creates a custom FaultException that is returned from an exception in the course of a service method.
Syntax
public void ProvideFault( 
   Exception error,
   MessageVersion version,
   ref Message fault
)
'Declaration
 
Public Sub ProvideFault( _
   ByVal error As Exception, _
   ByVal version As MessageVersion, _
   ByRef fault As Message _
) 
'Usage
 
Dim instance As ServiceErrorHandler
Dim error As Exception
Dim version As MessageVersion
Dim fault As Message
 
instance.ProvideFault(error, version, fault)
public void ProvideFault( 
   HResult error,
   MessageVersion version,
   ref Message fault
)
 function Leadtools.Medical.Worklist.Wcf.Utils.ServiceErrorHandler.ProvideFault( 
   error ,
   version ,
   fault 
)
public:
void ProvideFault( 
   Exception^ error,
   MessageVersion^ version,
   Message^% fault
) 

Parameters

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

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ServiceErrorHandler Class
ServiceErrorHandler Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.