<PackageReference Include="Microsoft.Data.SqlClient" Version="7.0.0-preview4.26064.3" />

Microsoft.Data.SqlClient.SqlRetryLogicOption

public sealed class SqlRetryLogicOption
Provides the retry logic parameters to create an instance of the SqlRetryLogicBaseProvider class by using SqlConfigurableRetryFactory methods.
public Predicate<string> AuthorizedSqlCondition { get; set; }

Sets a pre-retry validation function on the CommandText to only include specific SQL statements.

public TimeSpan DeltaTime { get; set; }

Sets the gap time interval as a TimeSpan object.

public TimeSpan MaxTimeInterval { get; set; }

Sets the allowed maximum gap time interval as a TimeSpan object.

public TimeSpan MinTimeInterval { get; set; }

Sets the minimum allowed gap time interval as a TimeSpan object.

public int NumberOfTries { get; set; }

Sets the number of times to try and execute the function.

public IEnumerable<int> TransientErrors { get; set; }

Sets the list of transient error numbers on which to retry when they occur.