Share via


ExponentialRetryPolicy Class

Definition

Exponential retry policy. Does retries for following: For 5xx http status codes except 501 and 505 For 401, 408 and 429 status codes Any other unhandled exception from web- Request timeout for client, etc

public class ExponentialRetryPolicy : Microsoft.Azure.DataLake.Store.RetryPolicies.RetryPolicy
type ExponentialRetryPolicy = class
    inherit RetryPolicy
Public Class ExponentialRetryPolicy
Inherits RetryPolicy
Inheritance
ExponentialRetryPolicy

Constructors

ExponentialRetryPolicy()

Default settings of Exponential retry policies

ExponentialRetryPolicy(Int32, Int32)

Exponential retry policies with specified maximum retries and interval

Fields

DefaultRetryInterval

Default retry interval

(Inherited from RetryPolicy)

Methods

ShouldRetry(Int32, Exception)

Determines whether to retry exponentially.

Applies to