TestSqlAzureExecutionStrategy TestSqlAzureExecutionStrategy Class

Definition

public class TestSqlAzureExecutionStrategy : SqlAzureExecutionStrategy, IExecutionStrategy
Public Class TestSqlAzureExecutionStrategy
    Inherits SqlAzureExecutionStrategy
    Implements IExecutionStrategy
Inheritance
System.ObjectSystem.Object
TestSqlAzureExecutionStrategyTestSqlAzureExecutionStrategy
Implements

Constructors

TestSqlAzureExecutionStrategy() TestSqlAzureExecutionStrategy()

public TestSqlAzureExecutionStrategy()
Public Sub New

TestSqlAzureExecutionStrategy(DbContext) TestSqlAzureExecutionStrategy(DbContext)

public TestSqlAzureExecutionStrategy(DbContext context)
Public Sub New(context As DbContext)
Parameters

TestSqlAzureExecutionStrategy(ExecutionStrategyContext) TestSqlAzureExecutionStrategy(ExecutionStrategyContext)

public TestSqlAzureExecutionStrategy(ExecutionStrategyContext context)
Public Sub New(context As ExecutionStrategyContext)
Parameters

Properties

Context Context

Inherited from ExecutionStrategy

ExceptionsEncountered ExceptionsEncountered

Inherited from ExecutionStrategy

Logger Logger

Inherited from ExecutionStrategy

MaxRetryCount MaxRetryCount

Inherited from ExecutionStrategy

MaxRetryDelay MaxRetryDelay

Inherited from ExecutionStrategy

Random Random

Inherited from ExecutionStrategy

RetriesOnFailure RetriesOnFailure

Inherited from ExecutionStrategy

Suspended Suspended

public static bool Suspended { get; set; }
Public Shared Property Suspended As Boolean
Value
System.Boolean System.Boolean

Methods

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

Execute(Func, TState) Execute(Of TState, TResult)(Func(Of TState, TResult), TState)

Inherited from ExecutionStrategy

ExecuteAsync(Func>, TState, CancellationToken) ExecuteAsync(Of TState, TResult)(Func(Of TState, CancellationToken, Task(Of TResult)), TState, CancellationToken)

Inherited from ExecutionStrategy

GetHashCode() GetHashCode()

Inherited from System.Object

GetNextDelay(Exception) GetNextDelay(Exception)

Inherited from ExecutionStrategy

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

OnFirstExecution() OnFirstExecution()

Inherited from ExecutionStrategy

OnRetry() OnRetry()

Inherited from ExecutionStrategy

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ShouldRetryOn(Exception) ShouldRetryOn(Exception)

protected override bool ShouldRetryOn(Exception exception)
Protected Overrides Function ShouldRetryOn(exception As Exception) As Boolean
Parameters
exception
System.Exception System.Exception
Returns
System.Boolean System.Boolean
Overrides

ToString() ToString()

Inherited from System.Object

UnwrapAndHandleException(Exception, Func) UnwrapAndHandleException(Of T)(Exception, Func(Of Exception, T))

Inherited from ExecutionStrategy

Fields

DefaultMaxDelay DefaultMaxDelay

Inherited from ExecutionStrategy

DefaultMaxRetryCount DefaultMaxRetryCount

Inherited from ExecutionStrategy