[TIBCO.EMS.UFOCLIENT .NET client library 8.1 documentation]

A TextMessage object is used to send a message containing a String. It inherits from the Message interface and adds a text message body.

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

Syntax

[SerializableAttribute]
public class TextMessage : Message
<SerializableAttribute> _
Public Class TextMessage _
	Inherits Message
[SerializableAttribute]
public ref class TextMessage : public Message

Remarks

This message type can be used to transport text-based messages, including those with XML content.

When a client receives a TextMessage, it is in read-only mode. If a client attempts to write to the message at this point, a MessageNotWriteableException is thrown. If clearBody is called, the message can now be both read from and written to.

Inheritance Hierarchy

System..::.Object
  TIBCO.EMS.UFO..::.Message
    TIBCO.EMS.UFO..::.TextMessage

See Also