Gets or sets the object content of the ObjectMessage.
For .NET Compact Framework, only the following object types are currently supported: bool, int, long, short, double, float, byte, bytes, char, string, MapMessage, StreamMessage, short[], int[], long[], float[], double[], or any type that implements IEMSSerializable.
Attempt to set object of all other types will cause a MessageFormatException to be thrown.
NoteAn object written to an ObjectMessage is not portable. I.e. An object set by an .NET EMS client will only be interpreted correclty by another .NET EMS client. The same is true between .NET Compact Framework clients.
For complete details, see the corresponding item in the book TIBCO Enterprise Message Service .NET Reference.
Exception Type | Condition |
---|---|
MessageFormatException | If the serialization or deserialization of the object failed |
ObjectMessage Class | TIBCO.EMS Namespace