RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TOPToSoapDomConvert.InvContextToMsg Method

Marshals a method call from an invocation context to a transportable string.

Pascal
function InvContextToMsg(const IntfMD: TIntfMetaData; MethNum: Integer; Con: TInvContext; Headers: THeaderList): TStream;
C++
__fastcall TStream InvContextToMsg(const TIntfMetaData IntfMD, int MethNum, TInvContext Con, THeaderList Headers);

InvContextToMsg looks up a specified method call, including the types and values of any arguments, from an invocation context, and returns an encoded version of that method call that can be transported to the application that executes it. 

IntfMD represents the runtime type information (RTTI) from the interface whose method is called. 

MethNum identifies the called method by its position in the interface's method table. 

Con is the invocation context that contains details of the method call, including the parameter values passed in, the calling conventions, and any other temporary data used when making the call. 

Headers is a list of TSOAPHeader descendants that represent the headers of the SOAP envelope that contained the method call.  

InvContextToMsg returns a stream from which an application can read the encoded version of the method call. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!