Udostępnij za pośrednictwem


ExponentialRetry Constructors

Definition

Overloads

ExponentialRetry()

Initializes a new instance of the ExponentialRetry class.

ExponentialRetry(TimeSpan, Int32)

Initializes a new instance of the ExponentialRetry class using the specified delta and maximum number of retries.

ExponentialRetry()

Initializes a new instance of the ExponentialRetry class.

public ExponentialRetry ();
Public Sub New ()

Applies to

ExponentialRetry(TimeSpan, Int32)

Initializes a new instance of the ExponentialRetry class using the specified delta and maximum number of retries.

public ExponentialRetry (TimeSpan deltaBackoff, int maxAttempts);
new Microsoft.Azure.Storage.RetryPolicies.ExponentialRetry : TimeSpan * int -> Microsoft.Azure.Storage.RetryPolicies.ExponentialRetry
Public Sub New (deltaBackoff As TimeSpan, maxAttempts As Integer)

Parameters

deltaBackoff
TimeSpan

A TimeSpan specifying the back-off interval between retries.

maxAttempts
Int32

An integer specifying the maximum number of retry attempts.

Applies to