Share via


PartitionReceiverOptions.DefaultMaximumReceiveWaitTime Property

Definition

The default amount of time to wait for the requested amount of messages when reading; if this period elapses before the requested amount of messages were available or read, then the set of messages that were read will be returned.

public TimeSpan? DefaultMaximumReceiveWaitTime { get; set; }
member this.DefaultMaximumReceiveWaitTime : Nullable<TimeSpan> with get, set
Public Property DefaultMaximumReceiveWaitTime As Nullable(Of TimeSpan)

Property Value

The default wait time is 60 seconds.

Exceptions

Occurs when the requested wait time is negative.

Applies to