SALES: 1-800-867-1380

BrokeredMessage.Size Property


Gets the size of the message in bytes.

Namespace:   Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

No code example is currently available or this language may not be supported.

Property Value

Type: System.Int64

The message size in bytes.

Exception Condition

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.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft