ServiceBusOptions.MaxBatchWaitTime 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 maximum time that the trigger should wait to fill a batch before invoking the function. This is only considered when MinMessageBatchSize is set to larger than 1 and is otherwise unused. If less than MinMessageBatchSize messages were available before the wait time elapses, the function will be invoked with a partial batch. This value should be no longer then 50% of the entity message lock duration. Therefore, the maximum allowed value is 2 minutes and 30 seconds. Otherwise, you may get lock exceptions when messages are pulled from the cache. The default value is 30 seconds.
public TimeSpan MaxBatchWaitTime { get; set; }
member this.MaxBatchWaitTime : TimeSpan with get, set
Public Property MaxBatchWaitTime As TimeSpan
Property Value
Applies to
Azure SDK for .NET