Soap.InvokeRegistry.TInvokableClassRegistry.GetIntfInvokeOptions

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function  GetIntfInvokeOptions(const IntfInfo: PTypeInfo): TIntfInvokeOptions; overload;
function  GetIntfInvokeOptions(const AGUID: TGUID): TIntfInvokeOptions; overload;

C++

TIntfInvokeOptions __fastcall GetIntfInvokeOptions(const System::Typinfo::PTypeInfo IntfInfo)/* overload */;
TIntfInvokeOptions __fastcall GetIntfInvokeOptions(const GUID &AGUID)/* overload */;

Properties

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

Description

Retrieves any flags that customize the way calls to a registered interface are made.

GetIntfInvokeOptions retrieves any invocation options that have been registered for an interface using the RegisterInvokeOptions method. Invocation options customize the way a registered interface is called, especially the way such calls are marshaled or unmarshaled. Remote interfaced objects (THTTPRIO) call this method to determine what options they need to set on the component that is the value of their Converter property.

AGUID identifies the registered interface using its GUID.

IntfInfo identifies the registered interface using its runtime type information (RTTI). You can obtain the type information from an invokable interface by calling the TypeInfo function (delphi) or the __delphirtti operator (C++).

GetIntfInvokeOptions returns a set of flags that indicate how to make calls to the specified interface.

See Also