DefaultExecutionStrategy Class

 

Represents the default IDbExecutionStrategy that doesn't retry operations if they fail.

Namespace:   System.Data.Entity.Infrastructure
Assembly:  EntityFramework (in EntityFramework.dll)

System.Object
  System.Data.Entity.Infrastructure.DefaultExecutionStrategy

public class DefaultExecutionStrategy : IDbExecutionStrategy

NameDescription
System_CAPS_pubmethodDefaultExecutionStrategy()

Initializes a new instance of the DefaultExecutionStrategy class.

NameDescription
System_CAPS_pubpropertyRetriesOnFailure

Gets whether the DefaultExecutionStrategy will retry the execution after a failure.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodExecute(Action)

Executes the specified operation once.

System_CAPS_pubmethodExecute<TResult>(Func<TResult>)

Executes the specified operation once and returns the result.

System_CAPS_pubmethodExecuteAsync(Func<Task>, CancellationToken)

Executes the specified asynchronous operation once, without retrying on failure.

System_CAPS_pubmethodExecuteAsync<TResult>(Func<Task<TResult>>, CancellationToken)

Executes the specified asynchronous operation once, without retrying on failure.

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.