TIBCO Enterprise Message Service 4.3.0 .NET Client Class Library

ObjectMessage.TheObject Property

Gets or sets the object content of the ObjectMessage.

public object TheObject {get; set;}

Remarks

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.

Exceptions

Exception Type Condition
MessageFormatException If the serialization or deserialization of the object failed

See Also

ObjectMessage Class | TIBCO.EMS Namespace