TIBCO Enterprise Message Service 4.3.0 .NET Client Class Library

Tibems.CalculateMessageSize Method 

Calculates and returns total size of the message wire representation.

public static int CalculateMessageSize(
   Message msg
);

Remarks

This method always creates internally the actual wire format of the message regardless of the state of the message.
For complete details, see the corresponding item in the book TIBCO Enterprise Message Service .NET Reference.

Exceptions

Exception Type Condition
ArgumentException if parameter is null or is a foreign message implementation.
EMSException if an error occurred while building message wire representation.

See Also

Tibems Class | TIBCO.EMS Namespace