Compartir a través de


SqlServerRetryingExecutionStrategy Constructores

Definición

Sobrecargas

SqlServerRetryingExecutionStrategy(DbContext)

Crea una nueva instancia de SqlServerRetryingExecutionStrategy.

SqlServerRetryingExecutionStrategy(ExecutionStrategyContext)

Crea una nueva instancia de SqlServerRetryingExecutionStrategy.

SqlServerRetryingExecutionStrategy(ExecutionStrategyDependencies)

Crea una nueva instancia de SqlServerRetryingExecutionStrategy.

SqlServerRetryingExecutionStrategy(DbContext, Int32)

Crea una nueva instancia de SqlServerRetryingExecutionStrategy.

SqlServerRetryingExecutionStrategy(ExecutionStrategyContext, Int32)

Crea una nueva instancia de SqlServerRetryingExecutionStrategy.

SqlServerRetryingExecutionStrategy(ExecutionStrategyDependencies, IEnumerable<Int32>)

Crea una nueva instancia de SqlServerRetryingExecutionStrategy.

SqlServerRetryingExecutionStrategy(ExecutionStrategyDependencies, Int32)

Crea una nueva instancia de SqlServerRetryingExecutionStrategy.

SqlServerRetryingExecutionStrategy(DbContext, Int32, TimeSpan, ICollection<Int32>)

Crea una nueva instancia de SqlServerRetryingExecutionStrategy.

SqlServerRetryingExecutionStrategy(DbContext, Int32, TimeSpan, IEnumerable<Int32>)

Crea una nueva instancia de SqlServerRetryingExecutionStrategy.

SqlServerRetryingExecutionStrategy(ExecutionStrategyContext, Int32, TimeSpan, ICollection<Int32>)

Crea una nueva instancia de SqlServerRetryingExecutionStrategy.

SqlServerRetryingExecutionStrategy(ExecutionStrategyDependencies, Int32, TimeSpan, ICollection<Int32>)

Crea una nueva instancia de SqlServerRetryingExecutionStrategy.

SqlServerRetryingExecutionStrategy(ExecutionStrategyDependencies, Int32, TimeSpan, IEnumerable<Int32>)

Crea una nueva instancia de SqlServerRetryingExecutionStrategy.

SqlServerRetryingExecutionStrategy(DbContext)

Source:
SqlServerRetryingExecutionStrategy.cs
Source:
SqlServerRetryingExecutionStrategy.cs
Source:
SqlServerRetryingExecutionStrategy.cs
Source:
SqlServerRetryingExecutionStrategy.cs
Source:
SqlServerRetryingExecutionStrategy.cs
Source:
SqlServerRetryingExecutionStrategy.cs
Source:
SqlServerRetryingExecutionStrategy.cs
Source:
SqlServerRetryingExecutionStrategy.cs
Source:
SqlServerRetryingExecutionStrategy.cs

Crea una nueva instancia de SqlServerRetryingExecutionStrategy.

public SqlServerRetryingExecutionStrategy (Microsoft.EntityFrameworkCore.DbContext context);
new Microsoft.EntityFrameworkCore.SqlServerRetryingExecutionStrategy : Microsoft.EntityFrameworkCore.DbContext -> Microsoft.EntityFrameworkCore.SqlServerRetryingExecutionStrategy
Public Sub New (context As DbContext)

Parámetros

context
DbContext

Contexto en el que se invocarán las operaciones.

Comentarios

Se usan valores predeterminados de 6 para el número máximo de reintentos y 30 segundos para el retraso predeterminado máximo.

Se aplica a

SqlServerRetryingExecutionStrategy(ExecutionStrategyContext)

Crea una nueva instancia de SqlServerRetryingExecutionStrategy.

public SqlServerRetryingExecutionStrategy (Microsoft.EntityFrameworkCore.Storage.ExecutionStrategyContext context);
new Microsoft.EntityFrameworkCore.SqlServerRetryingExecutionStrategy : Microsoft.EntityFrameworkCore.Storage.ExecutionStrategyContext -> Microsoft.EntityFrameworkCore.SqlServerRetryingExecutionStrategy
Public Sub New (context As ExecutionStrategyContext)

Parámetros

context
ExecutionStrategyContext

Dependencias necesarias.

Se aplica a

SqlServerRetryingExecutionStrategy(ExecutionStrategyDependencies)

Source:
SqlServerRetryingExecutionStrategy.cs
Source:
SqlServerRetryingExecutionStrategy.cs
Source:
SqlServerRetryingExecutionStrategy.cs
Source:
SqlServerRetryingExecutionStrategy.cs
Source:
SqlServerRetryingExecutionStrategy.cs
Source:
SqlServerRetryingExecutionStrategy.cs
Source:
SqlServerRetryingExecutionStrategy.cs
Source:
SqlServerRetryingExecutionStrategy.cs
Source:
SqlServerRetryingExecutionStrategy.cs

Crea una nueva instancia de SqlServerRetryingExecutionStrategy.

public SqlServerRetryingExecutionStrategy (Microsoft.EntityFrameworkCore.Storage.ExecutionStrategyDependencies dependencies);
new Microsoft.EntityFrameworkCore.SqlServerRetryingExecutionStrategy : Microsoft.EntityFrameworkCore.Storage.ExecutionStrategyDependencies -> Microsoft.EntityFrameworkCore.SqlServerRetryingExecutionStrategy
Public Sub New (dependencies As ExecutionStrategyDependencies)

Parámetros

dependencies
ExecutionStrategyDependencies

Objeto de parámetro que contiene dependencias de servicio.

Comentarios

Se usan valores predeterminados de 6 para el número máximo de reintentos y 30 segundos para el retraso predeterminado máximo.

Se aplica a

SqlServerRetryingExecutionStrategy(DbContext, Int32)

Source:
SqlServerRetryingExecutionStrategy.cs
Source:
SqlServerRetryingExecutionStrategy.cs
Source:
SqlServerRetryingExecutionStrategy.cs
Source:
SqlServerRetryingExecutionStrategy.cs
Source:
SqlServerRetryingExecutionStrategy.cs
Source:
SqlServerRetryingExecutionStrategy.cs
Source:
SqlServerRetryingExecutionStrategy.cs
Source:
SqlServerRetryingExecutionStrategy.cs
Source:
SqlServerRetryingExecutionStrategy.cs

Crea una nueva instancia de SqlServerRetryingExecutionStrategy.

public SqlServerRetryingExecutionStrategy (Microsoft.EntityFrameworkCore.DbContext context, int maxRetryCount);
new Microsoft.EntityFrameworkCore.SqlServerRetryingExecutionStrategy : Microsoft.EntityFrameworkCore.DbContext * int -> Microsoft.EntityFrameworkCore.SqlServerRetryingExecutionStrategy
Public Sub New (context As DbContext, maxRetryCount As Integer)

Parámetros

context
DbContext

Contexto en el que se invocarán las operaciones.

maxRetryCount
Int32

Número máximo de reintentos.

Comentarios

Se usa un valor predeterminado de 30 segundos para el retraso predeterminado máximo.

Se aplica a

SqlServerRetryingExecutionStrategy(ExecutionStrategyContext, Int32)

Crea una nueva instancia de SqlServerRetryingExecutionStrategy.

public SqlServerRetryingExecutionStrategy (Microsoft.EntityFrameworkCore.Storage.ExecutionStrategyContext context, int maxRetryCount);
new Microsoft.EntityFrameworkCore.SqlServerRetryingExecutionStrategy : Microsoft.EntityFrameworkCore.Storage.ExecutionStrategyContext * int -> Microsoft.EntityFrameworkCore.SqlServerRetryingExecutionStrategy
Public Sub New (context As ExecutionStrategyContext, maxRetryCount As Integer)

Parámetros

context
ExecutionStrategyContext

Dependencias necesarias.

maxRetryCount
Int32

Número máximo de reintentos.

Se aplica a

SqlServerRetryingExecutionStrategy(ExecutionStrategyDependencies, IEnumerable<Int32>)

Source:
SqlServerRetryingExecutionStrategy.cs
Source:
SqlServerRetryingExecutionStrategy.cs
Source:
SqlServerRetryingExecutionStrategy.cs

Crea una nueva instancia de SqlServerRetryingExecutionStrategy.

public SqlServerRetryingExecutionStrategy (Microsoft.EntityFrameworkCore.Storage.ExecutionStrategyDependencies dependencies, System.Collections.Generic.IEnumerable<int> errorNumbersToAdd);
new Microsoft.EntityFrameworkCore.SqlServerRetryingExecutionStrategy : Microsoft.EntityFrameworkCore.Storage.ExecutionStrategyDependencies * seq<int> -> Microsoft.EntityFrameworkCore.SqlServerRetryingExecutionStrategy
Public Sub New (dependencies As ExecutionStrategyDependencies, errorNumbersToAdd As IEnumerable(Of Integer))

Parámetros

dependencies
ExecutionStrategyDependencies

Objeto de parámetro que contiene dependencias de servicio.

errorNumbersToAdd
IEnumerable<Int32>

Números de error sql adicionales que se deben considerar transitorios.

Comentarios

Se usan valores predeterminados de 6 para el número máximo de reintentos y 30 segundos para el retraso predeterminado máximo.

Se aplica a

SqlServerRetryingExecutionStrategy(ExecutionStrategyDependencies, Int32)

Source:
SqlServerRetryingExecutionStrategy.cs
Source:
SqlServerRetryingExecutionStrategy.cs
Source:
SqlServerRetryingExecutionStrategy.cs
Source:
SqlServerRetryingExecutionStrategy.cs
Source:
SqlServerRetryingExecutionStrategy.cs
Source:
SqlServerRetryingExecutionStrategy.cs
Source:
SqlServerRetryingExecutionStrategy.cs
Source:
SqlServerRetryingExecutionStrategy.cs
Source:
SqlServerRetryingExecutionStrategy.cs

Crea una nueva instancia de SqlServerRetryingExecutionStrategy.

public SqlServerRetryingExecutionStrategy (Microsoft.EntityFrameworkCore.Storage.ExecutionStrategyDependencies dependencies, int maxRetryCount);
new Microsoft.EntityFrameworkCore.SqlServerRetryingExecutionStrategy : Microsoft.EntityFrameworkCore.Storage.ExecutionStrategyDependencies * int -> Microsoft.EntityFrameworkCore.SqlServerRetryingExecutionStrategy
Public Sub New (dependencies As ExecutionStrategyDependencies, maxRetryCount As Integer)

Parámetros

dependencies
ExecutionStrategyDependencies

Objeto de parámetro que contiene dependencias de servicio.

maxRetryCount
Int32

Número máximo de reintentos.

Comentarios

Se usa un valor predeterminado de 30 segundos para el retraso predeterminado máximo.

Se aplica a

SqlServerRetryingExecutionStrategy(DbContext, Int32, TimeSpan, ICollection<Int32>)

Source:
SqlServerRetryingExecutionStrategy.cs
Source:
SqlServerRetryingExecutionStrategy.cs
Source:
SqlServerRetryingExecutionStrategy.cs
Source:
SqlServerRetryingExecutionStrategy.cs
Source:
SqlServerRetryingExecutionStrategy.cs
Source:
SqlServerRetryingExecutionStrategy.cs

Crea una nueva instancia de SqlServerRetryingExecutionStrategy.

public SqlServerRetryingExecutionStrategy (Microsoft.EntityFrameworkCore.DbContext context, int maxRetryCount, TimeSpan maxRetryDelay, System.Collections.Generic.ICollection<int> errorNumbersToAdd);
public SqlServerRetryingExecutionStrategy (Microsoft.EntityFrameworkCore.DbContext context, int maxRetryCount, TimeSpan maxRetryDelay, System.Collections.Generic.ICollection<int>? errorNumbersToAdd);
new Microsoft.EntityFrameworkCore.SqlServerRetryingExecutionStrategy : Microsoft.EntityFrameworkCore.DbContext * int * TimeSpan * System.Collections.Generic.ICollection<int> -> Microsoft.EntityFrameworkCore.SqlServerRetryingExecutionStrategy
Public Sub New (context As DbContext, maxRetryCount As Integer, maxRetryDelay As TimeSpan, errorNumbersToAdd As ICollection(Of Integer))

Parámetros

context
DbContext

Contexto en el que se invocarán las operaciones.

maxRetryCount
Int32

Número máximo de reintentos.

maxRetryDelay
TimeSpan

El retraso máximo entre los reintentos.

errorNumbersToAdd
ICollection<Int32>

Números de error sql adicionales que se deben considerar transitorios.

Se aplica a

SqlServerRetryingExecutionStrategy(DbContext, Int32, TimeSpan, IEnumerable<Int32>)

Source:
SqlServerRetryingExecutionStrategy.cs
Source:
SqlServerRetryingExecutionStrategy.cs
Source:
SqlServerRetryingExecutionStrategy.cs

Crea una nueva instancia de SqlServerRetryingExecutionStrategy.

public SqlServerRetryingExecutionStrategy (Microsoft.EntityFrameworkCore.DbContext context, int maxRetryCount, TimeSpan maxRetryDelay, System.Collections.Generic.IEnumerable<int>? errorNumbersToAdd);
new Microsoft.EntityFrameworkCore.SqlServerRetryingExecutionStrategy : Microsoft.EntityFrameworkCore.DbContext * int * TimeSpan * seq<int> -> Microsoft.EntityFrameworkCore.SqlServerRetryingExecutionStrategy
Public Sub New (context As DbContext, maxRetryCount As Integer, maxRetryDelay As TimeSpan, errorNumbersToAdd As IEnumerable(Of Integer))

Parámetros

context
DbContext

Contexto en el que se invocarán las operaciones.

maxRetryCount
Int32

Número máximo de reintentos.

maxRetryDelay
TimeSpan

El retraso máximo entre los reintentos.

errorNumbersToAdd
IEnumerable<Int32>

Números de error sql adicionales que se deben considerar transitorios.

Se aplica a

SqlServerRetryingExecutionStrategy(ExecutionStrategyContext, Int32, TimeSpan, ICollection<Int32>)

Crea una nueva instancia de SqlServerRetryingExecutionStrategy.

public SqlServerRetryingExecutionStrategy (Microsoft.EntityFrameworkCore.Storage.ExecutionStrategyContext context, int maxRetryCount, TimeSpan maxRetryDelay, System.Collections.Generic.ICollection<int> errorNumbersToAdd);
new Microsoft.EntityFrameworkCore.SqlServerRetryingExecutionStrategy : Microsoft.EntityFrameworkCore.Storage.ExecutionStrategyContext * int * TimeSpan * System.Collections.Generic.ICollection<int> -> Microsoft.EntityFrameworkCore.SqlServerRetryingExecutionStrategy
Public Sub New (context As ExecutionStrategyContext, maxRetryCount As Integer, maxRetryDelay As TimeSpan, errorNumbersToAdd As ICollection(Of Integer))

Parámetros

context
ExecutionStrategyContext

Dependencias necesarias.

maxRetryCount
Int32

Número máximo de reintentos.

maxRetryDelay
TimeSpan

Retraso máximo en milisegundos entre reintentos.

errorNumbersToAdd
ICollection<Int32>

Números de error sql adicionales que se deben considerar transitorios.

Se aplica a

SqlServerRetryingExecutionStrategy(ExecutionStrategyDependencies, Int32, TimeSpan, ICollection<Int32>)

Source:
SqlServerRetryingExecutionStrategy.cs
Source:
SqlServerRetryingExecutionStrategy.cs
Source:
SqlServerRetryingExecutionStrategy.cs
Source:
SqlServerRetryingExecutionStrategy.cs
Source:
SqlServerRetryingExecutionStrategy.cs
Source:
SqlServerRetryingExecutionStrategy.cs

Crea una nueva instancia de SqlServerRetryingExecutionStrategy.

public SqlServerRetryingExecutionStrategy (Microsoft.EntityFrameworkCore.Storage.ExecutionStrategyDependencies dependencies, int maxRetryCount, TimeSpan maxRetryDelay, System.Collections.Generic.ICollection<int> errorNumbersToAdd);
public SqlServerRetryingExecutionStrategy (Microsoft.EntityFrameworkCore.Storage.ExecutionStrategyDependencies dependencies, int maxRetryCount, TimeSpan maxRetryDelay, System.Collections.Generic.ICollection<int>? errorNumbersToAdd);
new Microsoft.EntityFrameworkCore.SqlServerRetryingExecutionStrategy : Microsoft.EntityFrameworkCore.Storage.ExecutionStrategyDependencies * int * TimeSpan * System.Collections.Generic.ICollection<int> -> Microsoft.EntityFrameworkCore.SqlServerRetryingExecutionStrategy
Public Sub New (dependencies As ExecutionStrategyDependencies, maxRetryCount As Integer, maxRetryDelay As TimeSpan, errorNumbersToAdd As ICollection(Of Integer))

Parámetros

dependencies
ExecutionStrategyDependencies

Objeto de parámetro que contiene dependencias de servicio.

maxRetryCount
Int32

Número máximo de reintentos.

maxRetryDelay
TimeSpan

El retraso máximo entre los reintentos.

errorNumbersToAdd
ICollection<Int32>

Números de error sql adicionales que se deben considerar transitorios.

Se aplica a

SqlServerRetryingExecutionStrategy(ExecutionStrategyDependencies, Int32, TimeSpan, IEnumerable<Int32>)

Source:
SqlServerRetryingExecutionStrategy.cs
Source:
SqlServerRetryingExecutionStrategy.cs
Source:
SqlServerRetryingExecutionStrategy.cs

Crea una nueva instancia de SqlServerRetryingExecutionStrategy.

public SqlServerRetryingExecutionStrategy (Microsoft.EntityFrameworkCore.Storage.ExecutionStrategyDependencies dependencies, int maxRetryCount, TimeSpan maxRetryDelay, System.Collections.Generic.IEnumerable<int>? errorNumbersToAdd);
new Microsoft.EntityFrameworkCore.SqlServerRetryingExecutionStrategy : Microsoft.EntityFrameworkCore.Storage.ExecutionStrategyDependencies * int * TimeSpan * seq<int> -> Microsoft.EntityFrameworkCore.SqlServerRetryingExecutionStrategy
Public Sub New (dependencies As ExecutionStrategyDependencies, maxRetryCount As Integer, maxRetryDelay As TimeSpan, errorNumbersToAdd As IEnumerable(Of Integer))

Parámetros

dependencies
ExecutionStrategyDependencies

Objeto de parámetro que contiene dependencias de servicio.

maxRetryCount
Int32

Número máximo de reintentos.

maxRetryDelay
TimeSpan

El retraso máximo entre los reintentos.

errorNumbersToAdd
IEnumerable<Int32>

Números de error sql adicionales que se deben considerar transitorios.

Se aplica a