TIBCO EMS .NET API 10.2
TIBCO EMS .NET API 10.2
|
A TextMessage object is used to send a message containing a String. It inherits from the Message interface and adds a text message body. More...
Public Member Functions | |
override Object | Clone () |
Create a copy of the TextMessage object. More... | |
override void | ClearBody () |
Clears a message body in preparation for writing More... | |
override string | ToString () |
Return a string representation of the message More... | |
Properties | |
string | Text [get, set] |
Gets or sets the text content of the text message. More... | |
Additional Inherited Members |
A TextMessage object is used to send a message containing a String. It inherits from the Message interface and adds a text message body.
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.
|
inlinevirtual |
Clears a message body in preparation for writing
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.
Calling ClearBody clears the body of a text message, but leaves its header and property values unchanged. If the text message body was read-only, calling ClearBody makes the message writable. The message body appears and behaves identically to an empty body in a newly created message.
Reimplemented from TIBCO.EMS.UFO.Message.
|
inlinevirtual |
Create a copy of the TextMessage object.
Reimplemented from TIBCO.EMS.UFO.Message.
|
inline |
Return a string representation of the message
|
getset |
Gets or sets the text content of the text message.