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

Microsoft.Rest.TransientFaultHandling.RetryStrategy

public abstract class RetryStrategy
Represents a retry strategy that determines the number of retry attempts and the interval between retries.
namespace Microsoft.Rest.TransientFaultHandling { public abstract class RetryStrategy { public static readonly int DefaultClientRetryCount; public static readonly TimeSpan DefaultRetryInterval; public static readonly bool DefaultFirstFastRetry; public bool FastFirstRetry { get; set; } public string Name { get; } protected RetryStrategy(string name, bool firstFastRetry); public abstract ShouldRetryHandler GetShouldRetryHandler(); } }