TIBCO Enterprise Message Service 4.3.0 .NET Client Class Library

Tibems.GetMessageHeadersSize Method 

Returns the total wire size of the message headers for a message which was received or sent.

public static int GetMessageHeadersSize(
   Message msg
);

Remarks

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.
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.

See Also

Tibems Class | TIBCO.EMS Namespace