SqlRetryLogicOption Class

Definition

Provides the retry logic parameters to create an instance of the SqlRetryLogicBaseProvider class by using SqlConfigurableRetryFactory methods.

public ref class SqlRetryLogicOption sealed
[System.Serializable]
public sealed class SqlRetryLogicOption
public sealed class SqlRetryLogicOption
[<System.Serializable>]
type SqlRetryLogicOption = class
type SqlRetryLogicOption = class
Public NotInheritable Class SqlRetryLogicOption
Inheritance
SqlRetryLogicOption
Attributes

Constructors

SqlRetryLogicOption()

Properties

AuthorizedSqlCondition

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

DeltaTime

Sets the gap time interval as a TimeSpan object.

MaxTimeInterval

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

MinTimeInterval

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

NumberOfTries

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

TransientErrors

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

Applies to