Soap.InvokeRegistry.TInvokableClassRegistry.UnRegisterInterface

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

procedure UnRegisterInterface(Info: PTypeInfo);

C++

void __fastcall UnRegisterInterface(System::Typinfo::PTypeInfo Info);

Propriétés

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

Description

Annule le recensement d'une interface invocable.

Appelez UnRegisterInterface pour annuler le recensement d'une interface invocable depuis le registre d'invocation. Dans Delphi, cet appel se trouve dans la section finalisation de l'unité qui définit l'interface invocable. Dans C++, elle est appelée depuis une méthode utilisant la directive pragma exit.

Dès que l'interface invocable n'est plus recensée, les applications client ne peuvent plus l'appeler et les applications serveur ne peuvent pas répondre aux appels des méthodes d'interface.

Info est un pointeur sur les informations de type à l'exécution de l'interface. Pour obtenir les informations de type d'une interface invocable, appelez la fonction TypeInfo dans Delphi ou __delphirtti dans C++.

Voir aussi