你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CreateBatchOptions.MaximumSizeInBytes Property

Definition

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

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

Property Value

The desired limit, in bytes, for the size of the associated event batch. If null, the maximum size allowed by the associated Event Hub will be used.

The default maximum size will be set to the maximum allowed by the Event Hub.

Exceptions

Occurs when the requested size is less than 24.

Applies to