Collapse All Expand All

.NET Framework Class Library
Members See Also

[TIBCO.EMS .NET client library 5.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
Assembly: TIBCO.EMS (in TIBCO.EMS.dll)

# Syntax

    [SerializableAttribute]
    public class TextMessage : Message,
    	ICloneable

    <SerializableAttribute> _
    Public Class TextMessage _
    	Inherits Message _
    	Implements ICloneable

    [SerializableAttribute]
    public ref class TextMessage : public Message,
    	ICloneable

# 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..::.Message
TIBCO.EMS..::.TextMessage

# See Also

TextMessage Members
TIBCO.EMS Namespace