Soap.OPConvert.IOPConvert.MakeFault

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure MakeFault(const Ex: Exception; EStream: TStream);

C++

virtual void __fastcall MakeFault(System::Sysutils::Exception* const Ex, System::Classes::TStream* EStream) = 0 ;

Properties

Type Visibility Source Unit Parent
procedure
function
public
Soap.OPConvert.pas
Soap.OPConvert.hpp
Soap.OPConvert IOPConvert

Description

Encodes an exception that was raised when trying to execute a method on an invokable interface.

MakeFault encodes an exception that a Web Service application catches when trying to execute a method on an invokable interface. It generates an encoded exception packet, which the client can decode and use to raise the exception on the client application.

Ex is the exception object that represents the exception that occurred.

EStream is a stream to which MakeFault writes the encoded exception packet.

See Also