Udostępnij za pośrednictwem


CreateMessageBatchOptions.MaxSizeInBytes Property

Definition

The maximum size to allow for a single batch of messages, in bytes.

public long? MaxSizeInBytes { get; set; }
member this.MaxSizeInBytes : Nullable<int64> with get, set
Public Property MaxSizeInBytes As Nullable(Of Long)

Property Value

The desired limit, in bytes, for the size of the associated service bus message batch. If null, the maximum size allowed by the active transport will be used.

Exceptions

A negative value is attempted to be set for the property.

Applies to