Soap.InvokeRegistry.TPascalRemotableClassRegistry.RegisterSerializeOptions
Delphi
procedure RegisterSerializeOptions(Info: PTypeInfo; SerialOpt: TSerializationOptions); overload;
procedure RegisterSerializeOptions(AClass: TClass; SerialOpt: TSerializationOptions); overload;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure | public | Soap.InvokeRegistry.pas | Soap.InvokeRegistry | TPascalRemotableClassRegistry |
Description
Registers a set of serialization options that should be used with a registered remotable class or type.
Soap.InvokeRegistry.TPascalRemotableClassRegistry.RegisterSerializeOptions inherits from Soap.InvokeRegistry.TRemotableTypeRegistry.RegisterSerializeOptions. All content below this line refers to Soap.InvokeRegistry.TRemotableTypeRegistry.RegisterSerializeOptions.
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.