2.2.3.3 BinaryMethodReturn
The BinaryMethodReturn record contains the information returned by a Remote Method.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RecordTypeEnum |
MessageEnum |
||||||||||||||||||||||||||||||
... |
ReturnValue (variable) |
||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
CallContext (variable) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
Args (variable) |
|||||||||||||||||||||||||||||||
... |
RecordTypeEnum (1 byte): A RecordTypeEnumeration value that identifies the record type. The value MUST be 22.
MessageEnum (4 bytes): A MessageFlags value that indicates whether the Return Value, Arguments, Message Properties, and Call Context are present. The value also specifies whether the Return Value, Arguments, and Call Context are present in this record or the following MethodReturnCallArray record. For this record, the field MUST NOT have the MethodSignatureInArray or GenericMethod bits set.
ReturnValue (variable): A ValueWithCode that contains the Return Value of a Remote Method. If the MessageEnum field has the ReturnValueInline bit set, this field MUST be present; otherwise, this field MUST NOT be present.
CallContext (variable): A StringValueWithCode that represents the Logical Call ID. This field is conditional. If the MessageEnum field has the ContextInline bit set, the field MUST be present; otherwise, the field MUST NOT be present.
Args (variable): An ArrayOfValueWithCode that contains the Output Arguments of the method. This field is conditional. If the MessageEnum field has the ArgsInline bit set, the field MUST be present; otherwise, the field MUST NOT be present.