CreateBatchOptions.MaximumSizeInBytes Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET