<PackageReference Include="Microsoft.Azure.Storage.Common" Version="11.2.0" />

Microsoft.Azure.Storage.RetryPolicies.LinearRetry

Represents a retry policy that performs a specified number of retries, using a specified fixed time interval between retries.
public LinearRetry()

Initializes a new instance of the LinearRetry class.

public LinearRetry(TimeSpan deltaBackoff, int maxAttempts)

Initializes a new instance of the LinearRetry class using the specified delta and maximum number of retries.

Generates a new retry policy for the current request attempt.

public RetryInfo Evaluate(RetryContext retryContext, OperationContext operationContext)

Determines whether the operation should be retried and the interval until the next retry.

public bool ShouldRetry(int currentRetryCount, int statusCode, Exception lastException, out TimeSpan retryInterval, OperationContext operationContext)

Determines whether the operation should be retried and the interval until the next retry.