NoopExecutionStrategy NoopExecutionStrategy Class

Definition

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public class NoopExecutionStrategy : IExecutionStrategy
Public Class NoopExecutionStrategy
    Implements IExecutionStrategy
Inheritance
System.ObjectSystem.Object
NoopExecutionStrategyNoopExecutionStrategy
Implements

Inherited Members

System.Object

System.Object.ToString()System.Object.ToString()
System.Object.Equals(System.Object)System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()System.Object.GetHashCode()
System.Object.GetType()System.Object.GetType()
System.Object.MemberwiseClone()System.Object.MemberwiseClone()

Fields

Instance Instance

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public static NoopExecutionStrategy Instance
Public Shared Instance As NoopExecutionStrategy

Properties

RetriesOnFailure RetriesOnFailure

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public bool RetriesOnFailure { get; }
Public ReadOnly Property RetriesOnFailure As Boolean
Value
System.Boolean System.Boolean

Methods

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

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public TResult Execute<TState, TResult>(Func<TState, TResult> operation, TState state)
Public Function Execute(Of TState, TResult)(operation As Func(Of TState, TResult), state As TState) As TResult
Type Parameters
TState
TResult
Parameters
operation
System.Func<TState, TResult> System.Func(Of TState, TResult)
state
TState TState
Returns
TResult TResult

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

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public Task<TResult> ExecuteAsync<TState, TResult>(Func<TState, CancellationToken, Task<TResult>> operation, TState state, CancellationToken cancellationToken)
Public Function ExecuteAsync(Of TState, TResult)(operation As Func(Of TState, CancellationToken, Task(Of TResult)), state As TState, cancellationToken As CancellationToken) As Task(Of TResult)
Type Parameters
TState
TResult
Parameters
operation
System.Func<TState, System.Threading.CancellationToken, System.Threading.Tasks.Task<TResult>> System.Func(Of TState, System.Threading.CancellationToken, System.Threading.Tasks.Task(Of TResult))
state
TState TState
cancellationToken
System.Threading.CancellationToken System.Threading.CancellationToken
Returns
System.Threading.Tasks.Task<TResult> System.Threading.Tasks.Task(Of TResult)