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

Microsoft.Rest.TransientFaultHandling.RetryStrategy

public abstract class RetryStrategy
Represents a retry strategy that determines the number of retry attempts and the interval between retries.
public static readonly int DefaultClientRetryCount

Represents the default number of retry attempts.

public static readonly bool DefaultFirstFastRetry

Represents the default flag indicating whether the first retry attempt will be made immediately, whereas subsequent retries will remain subject to the retry interval.

public static readonly TimeSpan DefaultRetryInterval

Represents the default interval between retries.

public bool FastFirstRetry { get; set; }

Gets or sets a value indicating whether the first retry attempt will be made immediately, whereas subsequent retries will remain subject to the retry interval.

public string Name { get; }

Gets the name of the retry strategy.

protected RetryStrategy(string name, bool firstFastRetry)

Initializes a new instance of the RetryStrategy class.

Returns the corresponding ShouldRetry delegate.