SqlRetryLogicOption.TransientErrors Property

Definition

Sets the list of transient error numbers on which to retry when they occur.

C#
public System.Collections.Generic.IEnumerable<int> TransientErrors { get; set; }

Property Value

List of Number; Set to null to use the internal list of exceptions from the SqlConfigurableRetryFactory object.

Applies to

Produk Versi
SqlClient .NET Core 3.0, 3.1, 4.0, 4.1, 5.0, 5.1, 5.2
SqlClient .NET Framework 3.0, 3.1, 4.0, 4.1, 5.0, 5.1, 5.2
SqlClient .NET Standard 3.0, 3.1, 4.0, 4.1, 5.0, 5.1, 5.2