SalesBuy
1-855-856-7678
Technical SupportSupport
Gets the size of the message in bytes.
Namespace: Microsoft.ServiceBus.Messaging
| Exception | Condition |
|---|---|
| ObjectDisposedException |
Thrown if the message is in disposed state. |
To get an accurate value for the size of a BrokeredMessage, you should read the Size property after completing the Send/Receive operation on the BrokeredMessage.