Microsoft.Data.SqlClient.SqlRetryLogicOption
Provides the retry logic parameters to create an instance of the SqlRetryLogicBaseProvider class by using SqlConfigurableRetryFactory methods.
namespace Microsoft.Data.SqlClient
{
public sealed class SqlRetryLogicOption
{
public Predicate<string> AuthorizedSqlCondition { get; set; }
public TimeSpan DeltaTime { get; set; }
public TimeSpan MaxTimeInterval { get; set; }
public TimeSpan MinTimeInterval { get; set; }
public int NumberOfTries { get; set; }
public IEnumerable<int> TransientErrors { get; set; }
public SqlRetryLogicOption();
}
}