NoopExecutionStrategy NoopExecutionStrategy Class

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.

Syntax

Declaration

public class NoopExecutionStrategy : IExecutionStrategyPublic Class NoopExecutionStrategy
    Implements IExecutionStrategy

Inheritance Hierarchy

  • System.Object
    System.Object
  • NoopExecutionStrategy
    NoopExecutionStrategy

Inherited Members

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

Fields summary

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.

Properties summary

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.

Methods summary

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.

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.

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 InstancePublic 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

    Property Value

    • System.Boolean
      System.Boolean

Methods

  • Execute<TState, TResult>(Func<TState, TResult>, 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

    Parameters

    • operation
      System.Func<T, TResult><TState, TResult>
      System.Func<T, TResult>(Of TState, TResult)
    • state
      TState
      TState

    Returns

    • TResult
      TResult
  • ExecuteAsync<TState, TResult>(Func<TState, CancellationToken, Task<TResult>>, 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)

    Parameters

    • operation
      System.Func<T1, T2, TResult><TState, System.Threading.CancellationToken, System.Threading.Tasks.Task<TResult><TResult>>
      System.Func<T1, T2, TResult>(Of TState, System.Threading.CancellationToken, System.Threading.Tasks.Task<TResult>(Of TResult))
    • state
      TState
      TState
    • cancellationToken
      System.Threading.CancellationToken
      System.Threading.CancellationToken

    Returns

    • System.Threading.Tasks.Task<TResult><TResult>
      System.Threading.Tasks.Task<TResult>(Of TResult)

Details

Assembly

Microsoft.EntityFrameworkCore.dll