Rsft.EntLib.TransientFaultHandling.Standard by Rolosoft Ltd

<PackageReference Include="Rsft.EntLib.TransientFaultHandling.Standard" Version="7.0.0" />

 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.