Soap.InvokeRegistry.TInvContext.SetMethodInfo

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetMethodInfo(const MD: TIntfMethEntry);

C++

void __fastcall SetMethodInfo(const Soap::Intfinfo::TIntfMethEntry &MD);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Soap.InvokeRegistry.pas
Soap.InvokeRegistry.hpp
Soap.InvokeRegistry TInvContext

Description

Initializes the TInvContext for a particular method on the invokeable interface.

SetMethodInfo initializes the invocation context so that it represents a particular method. Objects that implement the IOPConvert interface call this method to initialize an invocation context when implementing their MsgToInvContext method.

MD is a description of the method, including its type, calling convention, and parameter signature.

Note: SetMethodInfo allocates the memory used internally to store pointers and raw data. An application must call this method before any calls to the AllocData, SetDataPointer, or SetParamPointer methods.

See Also