Soap.InvokeRegistry.TObjMultiOptions
Delphi
TObjMultiOptions = (ocDefault, ocMultiRef, ocNoMultiRef);
C++
enum DECLSPEC_DENUM TObjMultiOptions : unsigned char { ocDefault, ocMultiRef, ocNoMultiRef };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | Soap.InvokeRegistry.pas Soap.InvokeRegistry.hpp |
Soap.InvokeRegistry | Soap.InvokeRegistry |
Description
TObjMultiOptions indicates how multiple references to the same remotable class should be translated into a SOAP representation.
TObjMultiOptions indicates a class-specific override to the default strategy for converting multiple references to the same object instance into the corresponding SOAP representation. It indicates whether a remotable object should be treated by value (like a structure) or by reference (where object identity is meaningful).
Value | Meaning |
---|---|
ocDefault |
Use the default strategy for handling multiple references. |
ocMultiRef |
Always indicate in the SOAP packet when multiple references refer to the same instance of the specified class. |
ocNoMultiRef |
Never indicate in the SOAP packet when multiple references refer to the same instance of the specified class. That is, always treat it "by value". |