Partager via


SqlServerRetryingExecutionStrategy Constructeurs

Définition

Surcharges

SqlServerRetryingExecutionStrategy(DbContext)

Crée une instance de SqlServerRetryingExecutionStrategy.

SqlServerRetryingExecutionStrategy(ExecutionStrategyContext)

Crée une instance de SqlServerRetryingExecutionStrategy.

SqlServerRetryingExecutionStrategy(ExecutionStrategyDependencies)

Crée une instance de SqlServerRetryingExecutionStrategy.

SqlServerRetryingExecutionStrategy(DbContext, Int32)

Crée une instance de SqlServerRetryingExecutionStrategy.

SqlServerRetryingExecutionStrategy(ExecutionStrategyContext, Int32)

Crée une instance de SqlServerRetryingExecutionStrategy.

SqlServerRetryingExecutionStrategy(ExecutionStrategyDependencies, IEnumerable<Int32>)

Crée une instance de SqlServerRetryingExecutionStrategy.

SqlServerRetryingExecutionStrategy(ExecutionStrategyDependencies, Int32)

Crée une instance de SqlServerRetryingExecutionStrategy.

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

Crée une instance de SqlServerRetryingExecutionStrategy.

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

Crée une instance de SqlServerRetryingExecutionStrategy.

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

Crée une instance de SqlServerRetryingExecutionStrategy.

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

Crée une instance de SqlServerRetryingExecutionStrategy.

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

Crée une instance 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

Crée une instance de SqlServerRetryingExecutionStrategy.

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

Paramètres

context
DbContext

Contexte sur lequel les opérations seront appelées.

Remarques

Les valeurs par défaut de 6 pour le nombre maximal de nouvelles tentatives et de 30 secondes pour le délai maximal par défaut sont utilisées.

S’applique à

SqlServerRetryingExecutionStrategy(ExecutionStrategyContext)

Crée une instance 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)

Paramètres

context
ExecutionStrategyContext

Dépendances requises.

S’applique à

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

Crée une instance 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)

Paramètres

dependencies
ExecutionStrategyDependencies

Objet Parameter contenant des dépendances de service.

Remarques

Les valeurs par défaut de 6 pour le nombre maximal de nouvelles tentatives et de 30 secondes pour le délai maximal par défaut sont utilisées.

S’applique à

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

Crée une instance 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)

Paramètres

context
DbContext

Contexte sur lequel les opérations seront appelées.

maxRetryCount
Int32

Nombre maximal de nouvelles tentatives.

Remarques

Une valeur par défaut de 30 secondes pour le délai maximal par défaut est utilisée.

S’applique à

SqlServerRetryingExecutionStrategy(ExecutionStrategyContext, Int32)

Crée une instance 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)

Paramètres

context
ExecutionStrategyContext

Dépendances requises.

maxRetryCount
Int32

Nombre maximal de nouvelles tentatives.

S’applique à

SqlServerRetryingExecutionStrategy(ExecutionStrategyDependencies, IEnumerable<Int32>)

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

Crée une instance 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))

Paramètres

dependencies
ExecutionStrategyDependencies

Objet Parameter contenant des dépendances de service.

errorNumbersToAdd
IEnumerable<Int32>

Numéros d’erreur SQL supplémentaires qui doivent être considérés comme temporaires.

Remarques

Les valeurs par défaut de 6 pour le nombre maximal de nouvelles tentatives et de 30 secondes pour le délai maximal par défaut sont utilisées.

S’applique à

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

Crée une instance 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)

Paramètres

dependencies
ExecutionStrategyDependencies

Objet Parameter contenant des dépendances de service.

maxRetryCount
Int32

Nombre maximal de nouvelles tentatives.

Remarques

Une valeur par défaut de 30 secondes pour le délai maximal par défaut est utilisée.

S’applique à

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

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

Crée une instance 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))

Paramètres

context
DbContext

Contexte sur lequel les opérations seront appelées.

maxRetryCount
Int32

Nombre maximal de nouvelles tentatives.

maxRetryDelay
TimeSpan

Délai maximal entre les nouvelles tentatives.

errorNumbersToAdd
ICollection<Int32>

Numéros d’erreur SQL supplémentaires qui doivent être considérés comme temporaires.

S’applique à

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

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

Crée une instance 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))

Paramètres

context
DbContext

Contexte sur lequel les opérations seront appelées.

maxRetryCount
Int32

Nombre maximal de nouvelles tentatives.

maxRetryDelay
TimeSpan

Délai maximal entre les nouvelles tentatives.

errorNumbersToAdd
IEnumerable<Int32>

Numéros d’erreur SQL supplémentaires qui doivent être considérés comme temporaires.

S’applique à

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

Crée une instance 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))

Paramètres

context
ExecutionStrategyContext

Dépendances requises.

maxRetryCount
Int32

Nombre maximal de nouvelles tentatives.

maxRetryDelay
TimeSpan

Délai maximal en millisecondes entre les nouvelles tentatives.

errorNumbersToAdd
ICollection<Int32>

Numéros d’erreur SQL supplémentaires qui doivent être considérés comme temporaires.

S’applique à

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

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

Crée une instance 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))

Paramètres

dependencies
ExecutionStrategyDependencies

Objet Parameter contenant des dépendances de service.

maxRetryCount
Int32

Nombre maximal de nouvelles tentatives.

maxRetryDelay
TimeSpan

Délai maximal entre les nouvelles tentatives.

errorNumbersToAdd
ICollection<Int32>

Numéros d’erreur SQL supplémentaires qui doivent être considérés comme temporaires.

S’applique à

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

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

Crée une instance 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))

Paramètres

dependencies
ExecutionStrategyDependencies

Objet Parameter contenant des dépendances de service.

maxRetryCount
Int32

Nombre maximal de nouvelles tentatives.

maxRetryDelay
TimeSpan

Délai maximal entre les nouvelles tentatives.

errorNumbersToAdd
IEnumerable<Int32>

Numéros d’erreur SQL supplémentaires qui doivent être considérés comme temporaires.

S’applique à