[TIBCO.EMS .NET client library 8.1 documentation]

An ObjectMessage object is used to send a message that contains a serializable object.

Namespace:  TIBCO.EMS
Assembly:  TIBCO.EMS (in TIBCO.EMS.dll)

Syntax

[SerializableAttribute]
public class ObjectMessage : Message, 
	ICloneable
<SerializableAttribute> _
Public Class ObjectMessage _
	Inherits Message _
	Implements ICloneable
[SerializableAttribute]
public ref class ObjectMessage : public Message, 
	ICloneable

Remarks

Setting the content of a MessageObject stores a snapshot of the object. Subsequent changes to the original object do not affect the message.

Object serialization differs among the various EMS language APIs in ways that are incompatible. An ObjectMessage contains a serialized object. Therefore EMS programs can only send an ObjectMessage to another program written in the same language; for example, Java to Java, C to C, .NET to .NET.

Inheritance Hierarchy

System..::.Object
  TIBCO.EMS..::.Message
    TIBCO.EMS..::.ObjectMessage

See Also