Returns the total wire size of the message body for a message which was received or sent.
If a message was modified after it has been received, or if a message was created by the application but never sent, this method will produce incorrect result. In those cases call calculateMessageSize() before calling this method. If the body of the message is compressed, this method returns the size of the compressed wire representation.
For complete details, see the corresponding item in the book TIBCO Enterprise Message Service .NET Reference.
Exception Type | Condition |
---|---|
ArgumentException | if parameter is null or is a foreign message implementation. |
Tibems Class | TIBCO.EMS Namespace