ServiceBusOptions.MinMessageBatchSize 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.
Gets or sets the minimum number of messages desired for a batch. This setting applies only to functions that receive multiple messages. This value must be less than MaxMessageBatchSize and is used in conjunction with MaxBatchWaitTime. If MaxBatchWaitTime passes and less than MinMessageBatchSize has been received, the function will be invoked with a partial batch. Default 1.
public int MinMessageBatchSize { get; set; }
member this.MinMessageBatchSize : int with get, set
Public Property MinMessageBatchSize As Integer
Property Value
Remarks
The minimum size is not a strict guarantee, as a partial batch will be dispatched if a full batch cannot be prepared before the MaxBatchWaitTime has elapsed.
Applies to
Azure SDK for .NET