SqlServerRetryingExecutionStrategy Oluşturucular

Tanım

Aşırı Yüklemeler

SqlServerRetryingExecutionStrategy(DbContext)

SqlServerRetryingExecutionStrategy öğesinin yeni bir örneğini oluşturur.

En fazla yeniden deneme sayısı için 6 varsayılan değeri ve en fazla varsayılan gecikme için 30 saniye kullanılır.

SqlServerRetryingExecutionStrategy(ExecutionStrategyContext)

SqlServerRetryingExecutionStrategy öğesinin yeni bir örneğini oluşturur.

SqlServerRetryingExecutionStrategy(ExecutionStrategyDependencies)

SqlServerRetryingExecutionStrategy öğesinin yeni bir örneğini oluşturur.

En fazla yeniden deneme sayısı için 6 varsayılan değeri ve en fazla varsayılan gecikme için 30 saniye kullanılır.

SqlServerRetryingExecutionStrategy(DbContext, Int32)

SqlServerRetryingExecutionStrategy öğesinin yeni bir örneğini oluşturur.

En fazla varsayılan gecikme için varsayılan değer olan 30 saniye kullanılır.

SqlServerRetryingExecutionStrategy(ExecutionStrategyContext, Int32)

SqlServerRetryingExecutionStrategy öğesinin yeni bir örneğini oluşturur.

SqlServerRetryingExecutionStrategy(ExecutionStrategyDependencies, Int32)

SqlServerRetryingExecutionStrategy öğesinin yeni bir örneğini oluşturur.

En fazla varsayılan gecikme için varsayılan değer olan 30 saniye kullanılır.

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

SqlServerRetryingExecutionStrategy öğesinin yeni bir örneğini oluşturur.

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

SqlServerRetryingExecutionStrategy öğesinin yeni bir örneğini oluşturur.

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

SqlServerRetryingExecutionStrategy öğesinin yeni bir örneğini oluşturur.

SqlServerRetryingExecutionStrategy(DbContext)

SqlServerRetryingExecutionStrategy öğesinin yeni bir örneğini oluşturur.

En fazla yeniden deneme sayısı için 6 varsayılan değeri ve en fazla varsayılan gecikme için 30 saniye kullanılır.

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

Parametreler

context
DbContext

İşlemlerin çağrıldığı bağlam.

Açıklamalar

Varsayılan yeniden deneme sınırı 6 ' dır, bu da başarısız olmadan önce harcanan toplam süre miktarının bir dakika ile ilgili olması anlamına gelir.

Şunlara uygulanır

SqlServerRetryingExecutionStrategy(ExecutionStrategyContext)

SqlServerRetryingExecutionStrategy öğesinin yeni bir örneğini oluşturur.

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

Parametreler

context
ExecutionStrategyContext

Gerekli bağımlılıklar.

Şunlara uygulanır

SqlServerRetryingExecutionStrategy(ExecutionStrategyDependencies)

SqlServerRetryingExecutionStrategy öğesinin yeni bir örneğini oluşturur.

En fazla yeniden deneme sayısı için 6 varsayılan değeri ve en fazla varsayılan gecikme için 30 saniye kullanılır.

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

Parametreler

dependencies
ExecutionStrategyDependencies

Hizmet bağımlılıklarını içeren parametre nesnesi.

Şunlara uygulanır

SqlServerRetryingExecutionStrategy(DbContext, Int32)

SqlServerRetryingExecutionStrategy öğesinin yeni bir örneğini oluşturur.

En fazla varsayılan gecikme için varsayılan değer olan 30 saniye kullanılır.

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)

Parametreler

context
DbContext

İşlemlerin çağrıldığı bağlam.

maxRetryCount
Int32

En fazla yeniden deneme denemesi sayısı.

Şunlara uygulanır

SqlServerRetryingExecutionStrategy(ExecutionStrategyContext, Int32)

SqlServerRetryingExecutionStrategy öğesinin yeni bir örneğini oluşturur.

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)

Parametreler

context
ExecutionStrategyContext

Gerekli bağımlılıklar.

maxRetryCount
Int32

En fazla yeniden deneme denemesi sayısı.

Şunlara uygulanır

SqlServerRetryingExecutionStrategy(ExecutionStrategyDependencies, Int32)

SqlServerRetryingExecutionStrategy öğesinin yeni bir örneğini oluşturur.

En fazla varsayılan gecikme için varsayılan değer olan 30 saniye kullanılır.

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)

Parametreler

dependencies
ExecutionStrategyDependencies

Hizmet bağımlılıklarını içeren parametre nesnesi.

maxRetryCount
Int32

En fazla yeniden deneme denemesi sayısı.

Şunlara uygulanır

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

SqlServerRetryingExecutionStrategy öğesinin yeni bir örneğini oluşturur.

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

Parametreler

context
DbContext

İşlemlerin çağrıldığı bağlam.

maxRetryCount
Int32

En fazla yeniden deneme denemesi sayısı.

maxRetryDelay
TimeSpan

Yeniden denemeler arasındaki en büyük gecikme.

errorNumbersToAdd
ICollection<Int32>

geçici olarak değerlendirilmesi gereken ek SQL hata numaraları.

Şunlara uygulanır

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

SqlServerRetryingExecutionStrategy öğesinin yeni bir örneğini oluşturur.

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

Parametreler

context
ExecutionStrategyContext

Gerekli bağımlılıklar.

maxRetryCount
Int32

En fazla yeniden deneme denemesi sayısı.

maxRetryDelay
TimeSpan

Yeniden denemeler arasındaki milisaniye cinsinden en fazla gecikme.

errorNumbersToAdd
ICollection<Int32>

geçici olarak değerlendirilmesi gereken ek SQL hata numaraları.

Şunlara uygulanır

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

SqlServerRetryingExecutionStrategy öğesinin yeni bir örneğini oluşturur.

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

Parametreler

dependencies
ExecutionStrategyDependencies

Hizmet bağımlılıklarını içeren parametre nesnesi.

maxRetryCount
Int32

En fazla yeniden deneme denemesi sayısı.

maxRetryDelay
TimeSpan

Yeniden denemeler arasındaki en büyük gecikme.

errorNumbersToAdd
ICollection<Int32>

geçici olarak değerlendirilmesi gereken ek SQL hata numaraları.

Şunlara uygulanır