SqlAzureExecutionStrategy Constructors

Definition

Overloads

SqlAzureExecutionStrategy()

Creates a new instance of SqlAzureExecutionStrategy.

SqlAzureExecutionStrategy(Int32, TimeSpan)

Creates a new instance of SqlAzureExecutionStrategy with the specified limits for number of retries and the delay between retries.

SqlAzureExecutionStrategy()

Creates a new instance of SqlAzureExecutionStrategy.

public SqlAzureExecutionStrategy ();
Public Sub New ()

Remarks

The default retry limit is 5, which means that the total amount of time spent between retries is 26 seconds plus the random factor.

Applies to

SqlAzureExecutionStrategy(Int32, TimeSpan)

Creates a new instance of SqlAzureExecutionStrategy with the specified limits for number of retries and the delay between retries.

public SqlAzureExecutionStrategy (int maxRetryCount, TimeSpan maxDelay);
new System.Data.Entity.SqlServer.SqlAzureExecutionStrategy : int * TimeSpan -> System.Data.Entity.SqlServer.SqlAzureExecutionStrategy
Public Sub New (maxRetryCount As Integer, maxDelay As TimeSpan)

Parameters

maxRetryCount
Int32

The maximum number of retry attempts.

maxDelay
TimeSpan

The maximum delay in milliseconds between retries.

Applies to