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

Microsoft.Rest.TransientFaultHandling.RetryPolicy<T>

Provides a generic version of the RetryPolicy class.
public RetryPolicy(RetryStrategy retryStrategy)

Initializes a new instance of the RetryPolicy<T> class with the specified number of retry attempts and parameters defining the progressive delay between retries.

public RetryPolicy(int retryCount)

Initializes a new instance of the RetryPolicy<T> class with the specified number of retry attempts and the default fixed time interval between retries.

public RetryPolicy(int retryCount, TimeSpan retryInterval)

Initializes a new instance of the RetryPolicy<T> class with the specified number of retry attempts and a fixed time interval between retries.

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

Initializes a new instance of the RetryPolicy<T> class with the specified number of retry attempts and backoff parameters for calculating the exponential delay between retries.

public RetryPolicy(int retryCount, TimeSpan initialInterval, TimeSpan increment)

Initializes a new instance of the RetryPolicy<T> class with the specified number of retry attempts and parameters defining the progressive delay between retries.