Delen via


BrokeredMessage.Size Property

Definition

Gets the size of the message in bytes.

public long Size { get; }
member this.Size : int64
Public ReadOnly Property Size As Long

Property Value

The message size in bytes.

Exceptions

Thrown if the message is in disposed state.

Remarks

The value of Size is only accurate after the BrokeredMessage instance is sent or received.

Applies to