Soap.InvokeRegistry.TInvokableClassRegistry.UnRegisterInterface

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure UnRegisterInterface(Info: PTypeInfo);

C++

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

Properties

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

Description

Unregisters an invokable interface.

Call UnRegisterInterface to unregister an invokable interface from the invocation registry. In Delphi, this call goes in the finalization section of the unit that defines the invokable interface. In C++, it is called from a method that uses the pragma exit directive.

Once an invokable interface is unregistered, client applications can no longer call it and server applications can't respond to calls directed at the interface methods.

Info is a pointer to the runtime type information for the interface. You can obtain the type information from an invokable interface by calling the TypeInfo function in Delphi or __delphirtti in C++.

See Also