Language

HttpRetryBudgetOptions.SamplingDuration Property

Definition

Gets or sets the duration of the sliding window used to track requests and retries.

public:
 property TimeSpan SamplingDuration { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan SamplingDuration { get; set; }
member this.SamplingDuration : TimeSpan with get, set
Public Property SamplingDuration As TimeSpan

Property Value

The default value is 10 seconds. The value must be between 1 second and 1 day.

Applies to