EventProcessorOptions.MaximumWaitTime 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 amount of time to wait for events to become available from a given partition before emitting an empty batch of events.
public TimeSpan? MaximumWaitTime { get; set; }
member this.MaximumWaitTime : Nullable<TimeSpan> with get, set
Public Property MaximumWaitTime As Nullable(Of TimeSpan)
Property Value
If null
, the processor will wait indefinitely for a batch of events to become available and will not
dispatch them to be processed while waiting; otherwise, a batch will always be emitted within this interval, whether or not
it is empty.
The default wait time is null
.
Exceptions
Occurs when the requested wait time is negative.
Applies to
Azure SDK for .NET