SqlAzureExecutionStrategy SqlAzureExecutionStrategy Class

Definition

public class SqlAzureExecutionStrategy : ExecutionStrategy, IExecutionStrategy
Public Class SqlAzureExecutionStrategy
    Inherits ExecutionStrategy
    Implements IExecutionStrategy
Inheritance
System.ObjectSystem.Object
SqlAzureExecutionStrategySqlAzureExecutionStrategy
Implements

Constructors

SqlAzureExecutionStrategy() SqlAzureExecutionStrategy()

Creates a new instance of SqlAzureExecutionStrategy without a context.

SqlAzureExecutionStrategy(DbContext) SqlAzureExecutionStrategy(DbContext)

Creates a new instance of SqlAzureExecutionStrategy.

SqlAzureExecutionStrategy(DbContext, Int32) SqlAzureExecutionStrategy(DbContext, Int32)

Creates a new instance of SqlAzureExecutionStrategy.

SqlAzureExecutionStrategy(DbContext, Int32, TimeSpan, ICollection<Int32>) SqlAzureExecutionStrategy(DbContext, Int32, TimeSpan, ICollection(Of Int32))

Creates a new instance of SqlAzureExecutionStrategy.

SqlAzureExecutionStrategy(ExecutionStrategyContext) SqlAzureExecutionStrategy(ExecutionStrategyContext)

Creates a new instance of SqlAzureExecutionStrategy.

SqlAzureExecutionStrategy(ExecutionStrategyContext, Int32) SqlAzureExecutionStrategy(ExecutionStrategyContext, Int32)

Creates a new instance of SqlAzureExecutionStrategy.

SqlAzureExecutionStrategy(ExecutionStrategyContext, Int32, TimeSpan, ICollection<Int32>) SqlAzureExecutionStrategy(ExecutionStrategyContext, Int32, TimeSpan, ICollection(Of Int32))

Creates a new instance of SqlAzureExecutionStrategy.

SqlAzureExecutionStrategy(Int32) SqlAzureExecutionStrategy(Int32)

Creates a new instance of SqlAzureExecutionStrategy without a context.

SqlAzureExecutionStrategy(Int32, TimeSpan, ICollection<Int32>) SqlAzureExecutionStrategy(Int32, TimeSpan, ICollection(Of Int32))

Creates a new instance of SqlAzureExecutionStrategy without a context.

Methods

System.Object.Equals(System.Object) System.Object.Equals(System.Object) Inherited from System.Object
System.Object.Equals(System.Object, System.Object) System.Object.Equals(System.Object, System.Object) Inherited from System.Object
Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.Execute<TState, TResult>(System.Func<TState, TResult>, TState) Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.Execute<TState, TResult>(System.Func<TState, TResult>, TState) Inherited from ExecutionStrategy
Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync<TState, TResult>(System.Func<TState, System.Threading.CancellationToken, System.Threading.Tasks.Task<TResult>>, TState, System.Threading.CancellationToken) Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync<TState, TResult>(System.Func<TState, System.Threading.CancellationToken, System.Threading.Tasks.Task<TResult>>, TState, System.Threading.CancellationToken) Inherited from ExecutionStrategy
System.Object.GetHashCode() System.Object.GetHashCode() Inherited from System.Object
GetNextDelay(Exception) GetNextDelay(Exception)

Determines whether the operation should be retried and the delay before the next attempt.

(Inherited from ExecutionStrategy)
System.Object.GetType() System.Object.GetType() Inherited from System.Object
System.Object.MemberwiseClone() System.Object.MemberwiseClone() Inherited from System.Object
OnFirstExecution() OnFirstExecution()

Method called before the first operation execution

(Inherited from ExecutionStrategy)
OnRetry() OnRetry()

Method called before retrying the operation execution

(Inherited from ExecutionStrategy)
System.Object.ReferenceEquals(System.Object, System.Object) System.Object.ReferenceEquals(System.Object, System.Object) Inherited from System.Object
ShouldRetryOn(Exception) ShouldRetryOn(Exception)
System.Object.ToString() System.Object.ToString() Inherited from System.Object
Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.UnwrapAndHandleException<T>(System.Exception, System.Func<System.Exception, T>) Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.UnwrapAndHandleException<T>(System.Exception, System.Func<System.Exception, T>) Inherited from ExecutionStrategy

Fields

DefaultMaxDelay DefaultMaxDelay

The default maximum time delay between retries, must be nonnegative.

(Inherited from ExecutionStrategy)
DefaultMaxRetryCount DefaultMaxRetryCount

The default number of retry attempts.

(Inherited from ExecutionStrategy)

Properties

Context Context

The context on which the operations will be invoked.

(Inherited from ExecutionStrategy)
ExceptionsEncountered ExceptionsEncountered

The list of exceptions that caused the operation to be retried so far.

(Inherited from ExecutionStrategy)
Logger Logger

The logger for this ExecutionStrategy.

(Inherited from ExecutionStrategy)
MaxRetryCount MaxRetryCount

The maximum number of retry attempts.

(Inherited from ExecutionStrategy)
MaxRetryDelay MaxRetryDelay

The maximum delay in milliseconds between retries.

(Inherited from ExecutionStrategy)
Random Random

A pseudo-random number generater that can be used to vary the delay between retries.

(Inherited from ExecutionStrategy)
RetriesOnFailure RetriesOnFailure

Indicates whether this IExecutionStrategy might retry the execution after a failure.

(Inherited from ExecutionStrategy)
Suspended Suspended

Indicates whether the strategy is suspended. The strategy is typically suspending while executing to avoid recursive execution from nested operations.

(Inherited from ExecutionStrategy)