SqlServerRetryingExecutionStrategy Oluşturucular
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Aşırı Yüklemeler
SqlServerRetryingExecutionStrategy(DbContext)
SqlServerRetryingExecutionStrategy öğesinin yeni bir örneğini oluşturur.
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ılacağı bağlam.
Açıklamalar
En yüksek yeniden deneme sayısı için 6, varsayılan maksimum gecikme için 30 saniye varsayılan değerler kullanılır.
Ş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.
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.
Açıklamalar
En yüksek yeniden deneme sayısı için 6, varsayılan maksimum gecikme için 30 saniye varsayılan değerler kullanılır.
Şunlara uygulanır
SqlServerRetryingExecutionStrategy(DbContext, Int32)
SqlServerRetryingExecutionStrategy öğesinin yeni bir örneğini oluşturur.
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ılacağı bağlam.
- maxRetryCount
- Int32
En fazla yeniden deneme denemesi sayısı.
Açıklamalar
Varsayılan gecikme üst sınırı için 30 saniyelik varsayılan değer kullanılır.
Ş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, IEnumerable<Int32>)
SqlServerRetryingExecutionStrategy öğesinin yeni bir örneğini oluşturur.
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))
Parametreler
- dependencies
- ExecutionStrategyDependencies
Hizmet bağımlılıklarını içeren parametre nesnesi.
- errorNumbersToAdd
- IEnumerable<Int32>
Geçici olarak kabul edilmesi gereken ek SQL hata numaraları.
Açıklamalar
En yüksek yeniden deneme sayısı için 6, varsayılan maksimum gecikme için 30 saniye varsayılan değerler kullanılır.
Şunlara uygulanır
SqlServerRetryingExecutionStrategy(ExecutionStrategyDependencies, Int32)
SqlServerRetryingExecutionStrategy öğesinin yeni bir örneğini oluşturur.
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ı.
Açıklamalar
Varsayılan gecikme üst sınırı için 30 saniyelik varsayılan değer kullanılır.
Ş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ılacağı 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 kabul edilmesi gereken ek SQL hata numaraları.
Şunlara uygulanır
SqlServerRetryingExecutionStrategy(DbContext, Int32, TimeSpan, IEnumerable<Int32>)
SqlServerRetryingExecutionStrategy öğesinin yeni bir örneğini oluşturur.
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))
Parametreler
- context
- DbContext
İşlemlerin çağrılacağı bağlam.
- maxRetryCount
- Int32
En fazla yeniden deneme denemesi sayısı.
- maxRetryDelay
- TimeSpan
Yeniden denemeler arasındaki en büyük gecikme.
- errorNumbersToAdd
- IEnumerable<Int32>
Geçici olarak kabul edilmesi 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 maksimum gecikme.
- errorNumbersToAdd
- ICollection<Int32>
Geçici olarak kabul edilmesi 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 kabul edilmesi gereken ek SQL hata numaraları.
Şunlara uygulanır
SqlServerRetryingExecutionStrategy(ExecutionStrategyDependencies, Int32, TimeSpan, IEnumerable<Int32>)
SqlServerRetryingExecutionStrategy öğesinin yeni bir örneğini oluşturur.
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))
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
- IEnumerable<Int32>
Geçici olarak kabul edilmesi gereken ek SQL hata numaraları.
Şunlara uygulanır
Entity Framework
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin