共用方式為


EventHubOptions.LoadBalancingUpdateInterval Property

Definition

The desired amount of time to allow between load balancing verification attempts.

public TimeSpan LoadBalancingUpdateInterval { get; set; }
member this.LoadBalancingUpdateInterval : TimeSpan with get, set
Public Property LoadBalancingUpdateInterval As TimeSpan

Property Value

The default load balancing interval is 30 seconds.

Exceptions

Occurs when the requested interval is negative.

Remarks

Because load balancing holds less priority than processing events, this interval should be considered the minimum time that will elapse between verification attempts; operations with higher priority may cause a delay longer than this interval for load balancing.

Applies to