Soap.WebNode.IWebNode.BeforeExecute

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure BeforeExecute(const IntfMD: TIntfMetaData;  const MethMD: TIntfMethEntry; MethodIndex: Integer; AttachHandler: IMimeAttachmentHandler);

C++

virtual void __fastcall BeforeExecute(const Soap::Intfinfo::TIntfMetaData &IntfMD, const Soap::Intfinfo::TIntfMethEntry &MethMD, int MethodIndex, Soap::Soapattachintf::_di_IMimeAttachmentHandler AttachHandler) = 0 ;

Properties

Type Visibility Source Unit Parent
procedure
function
public
Soap.WebNode.pas
Soap.WebNode.hpp
Soap.WebNode IWebNode

Description

Performs any transport-specific setup before executing an encoded method call.

BeforeExecute handles transport-specific tasks such as dynamically querying a WSDL document or setting up serialization options before a call is made to the Execute method. Remote interfaced objects (TRio) call this method after their OnBeforeExecute event, but before delegating the execution of the method to the Execute method.

IntfMD is the runtime type information (RTTI) of the invokable interface that includes the method to execute.

MethMD is describes the method that is about to be executed.

MethodIndex indicates which overload to use when methMD describes an overloaded method. 0 indicates the first overload, 1 indicates the second overload, and so on.

AttachHandler is an interface to use for handling any attachments that are used as parameters of the method.

See Also