ProvideFault Method

Summary
Creates a custom FaultException that is returned from an exception in the course of a service method.
Syntax
C#
C++
public void ProvideFault( 
   Exception error, 
   MessageVersion version, 
   ref Message fault 
) 
vb[VB Syntax] 
  
Public Sub ProvideFault( _ 
   ByVal _error_ As Exception, _ 
   ByVal _version_ As MessageVersion, _ 
   ByRef _fault_ As Message _ 
) 
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

Help Version 22.0.2022.4.4
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Medical.Worklist.Wcf Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.