<PackageReference Include="Microsoft.Rest.ClientRuntime" Version="2.3.20" />

Microsoft.Rest.TransientFaultHandling.ExponentialBackoffRetryStrategy

A retry strategy with backoff parameters for calculating the exponential delay between retries.
public static readonly TimeSpan DefaultClientBackoff

Represents the default amount of time used when calculating a random delta in the exponential delay between retries.

public static readonly TimeSpan DefaultMaxBackoff

Represents the default maximum amount of time used when calculating the exponential delay between retries.

public static readonly TimeSpan DefaultMinBackoff

Represents the default minimum amount of time used when calculating the exponential delay between retries.

Initializes a new instance of the ExponentialBackoffRetryStrategy class.

public ExponentialBackoffRetryStrategy(int retryCount, TimeSpan minBackoff, TimeSpan maxBackoff, TimeSpan deltaBackoff)

Initializes a new instance of the ExponentialBackoffRetryStrategy class with the specified retry settings.

public ExponentialBackoffRetryStrategy(string name, int retryCount, TimeSpan minBackoff, TimeSpan maxBackoff, TimeSpan deltaBackoff)

Initializes a new instance of the ExponentialBackoffRetryStrategy class with the specified name and retry settings.

public ExponentialBackoffRetryStrategy(string name, int retryCount, TimeSpan minBackoff, TimeSpan maxBackoff, TimeSpan deltaBackoff, bool firstFastRetry)

Initializes a new instance of the ExponentialBackoffRetryStrategy class with the specified name, retry settings, and fast retry option.