DefaultExecutionStrategy Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An IDbExecutionStrategy that doesn't retry operations if they fail.
public class DefaultExecutionStrategy : System.Data.Entity.Infrastructure.IDbExecutionStrategy
type DefaultExecutionStrategy = class
interface IDbExecutionStrategy
Public Class DefaultExecutionStrategy
Implements IDbExecutionStrategy
- Inheritance
-
DefaultExecutionStrategy
- Implements
Constructors
DefaultExecutionStrategy() |
Properties
RetriesOnFailure |
Returns |
Methods
Execute(Action) |
Executes the specified operation once. |
Execute<TResult>(Func<TResult>) |
Executes the specified operation once and returns the result. |
ExecuteAsync(Func<Task>, CancellationToken) |
Executes the specified asynchronous operation once, without retrying on failure. |
ExecuteAsync<TResult>(Func<Task<TResult>>, CancellationToken) |
Executes the specified asynchronous operation once, without retrying on failure. |
Applies to
Entity Framework