Soap.InvokeRegistry.TInvokableClassRegistry.RegisterInvokeOptions

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure RegisterInvokeOptions(Info: PTypeInfo; const InvokeOption: TIntfInvokeOption); overload;
procedure RegisterInvokeOptions(Info: PTypeInfo; const InvokeOptions: TIntfInvokeOptions); overload;

C++

void __fastcall RegisterInvokeOptions(System::Typinfo::PTypeInfo Info, const TIntfInvokeOption InvokeOption)/* overload */;
void __fastcall RegisterInvokeOptions(System::Typinfo::PTypeInfo Info, const TIntfInvokeOptions InvokeOptions)/* overload */;

Properties

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

Description

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

RegisterInvokeOptions associates the specified invocation flag or flags with a registered interface. The interface must be previously registered by a call to the RegisterInterface method. Invocation flags customize the way a registered interface is called, especially the way such calls are marshaled or unmarshaled.

Info 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 __delphirtti (C++).

InvokeOption specifies a single invocation option to associate with the interface.

InvokeOptions specifies a set of invocation options to associate with the interface.

Note: RegisterInvokeOptions adds the specified option or options to the set of invocation flags already registered for the interface. It does not remove any previously registered options.

See Also