Soap.InvokeRegistry.TRemotableTypeRegistry.RegisterSerializeOptions

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure RegisterSerializeOptions(Info: PTypeInfo; SerialOpt: TSerializationOptions); overload;
procedure RegisterSerializeOptions(AClass: TClass; SerialOpt: TSerializationOptions); overload;

C++

void __fastcall RegisterSerializeOptions(System::Typinfo::PTypeInfo Info, TSerializationOptions SerialOpt)/* overload */;
void __fastcall RegisterSerializeOptions(System::TClass AClass, TSerializationOptions SerialOpt)/* overload */;

Properties

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

Description

Registers a set of serialization options that should be used with a registered remotable class or type.

RegisterSerializeOptions associates a registered remotable class or type with a set of flags that indicate how to encode or decode its value. Typically, this method is called by the WSDL importer.

AClass identifes the class for which you are supplying serialization options. It must be previously registered by a call to RegisterXSClass.

Info is the runtime type information for a type when you are supplying serialization options for a type rather than a class. It must be previously registered by a call to RegisterXSInfo.

SerialOpt is the set of flags that customize how the class is encoded or decoded.

See Also