Soap.InvokeRegistry.TInvokableClassRegistry.GetExceptionInfoForInterface

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

function  GetExceptionInfoForInterface(Info: PTypeInfo): TExceptionItemArray;

C++

TExceptionItemArray __fastcall GetExceptionInfoForInterface(System::Typinfo::PTypeInfo Info);

Propriétés

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

Description

Récupère un tableau d'exceptions recensées en tant qu'éléments associés à une interface invocable.

Généralement, les applications n'ont pas besoin d'appeler GetExceptionInfoForInterface. Cette méthode est utilisée de manière interne par le publieur WSDL pour générer le document WSDL qui décrit les exceptions susceptibles d'être déclenchées par une interface invocable.

Info représente les informations de type à l'exécution (RTTI) d'une interface invocable recensée. L'interface doit avoir été préalablement recensée par un appel à la méthode RegisterInterface.

GetExceptionInfoForInterface renvoie un tableau de valeurs IntfExceptionItem décrivant chacune une exception distante recensée pour l'interface invocable par un appel à la méthode RegisterException.

Voir aussi