Soap.InvokeRegistry.TRemotableTypeRegistry.AutoRegisterNativeTypes

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property AutoRegisterNativeTypes: Boolean read FAutoRegister write FAutoRegister;

C++

__property bool AutoRegisterNativeTypes = {read=FAutoRegister, write=FAutoRegister, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Soap.InvokeRegistry.pas
Soap.InvokeRegistry.hpp
Soap.InvokeRegistry TRemotableTypeRegistry

Description

Specifies whether types that are used in an invokable interface or by a remotable class are automatically registered.

When AutoRegisterNativeTypes is true (the default), type definitions are automatically registered when the invokable interface or remotable class that uses them is registered. That is, when you register an invokable interface with the invocation registry or when you register a remotable class with the remotable type registry, the registry checks whether it makes use of types that are not yet registered, and if so, registers them as well. Note that you can still provide your own registration (for example, to control the external name or namespace) by registering the type before the call that registers the interface or remotable class.

See Also