Size Property
EN
Det här innehållet finns inte tillgängligt på ditt språk men här finns den engelska versionen,

BrokeredMessage.Size Property

 

Gets the size of the message in bytes.

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

member Size : int64 with get

Property Value

Type: System.Int64

The message size in bytes.

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.

Return to top
Visa:
© 2016 Microsoft