Soap.InvokeRegistry.TInvokableClassRegistry.GetIntfInvokeOptions

De RAD Studio API Documentation
Aller à : navigation, rechercher

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 */;

Propriétés

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

Description

Récupère tous les indicateurs qui personnalisent la manière dont une interface recensée est appelée.

GetIntfInvokeOptions récupère toutes les options d'invocation recensées pour une interface à l'aide de la méthode RegisterInvokeOptions. Les options d'invocation personnalisent la manière dont une interface recensée est appelée, particulièrement la manière dont ces appels font l'objet d'un marshaling ou d'une annulation de marshaling. Les objets à interface distante (THTTPRIO) appellent cette méthode pour déterminer les options à définir sur le composant correspondant à la valeur de leur propriété Converter.

AGUID identifie l'interface recensée utilisant son GUID.

IntfInfo identifie l'interface recensée à l'aide de ses informations de type à l'exécution (RTTI). Pour obtenir les informations de type d'une interface invocable, appelez la fonction TypeInfo (delphi) ou l'opérateur __delphirtti (C++).

GetIntfInvokeOptions renvoie un ensemble d'indicateurs sur la manière d'appeler l'interface spécifiée.

Voir aussi