SqlRetryLogicOption.TransientErrors Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the list of transient error numbers on which to retry when they occur.
public:
property System::Collections::Generic::IEnumerable<int> ^ TransientErrors { System::Collections::Generic::IEnumerable<int> ^ get(); void set(System::Collections::Generic::IEnumerable<int> ^ value); };
C#
public System.Collections.Generic.IEnumerable<int> TransientErrors { get; set; }
member this.TransientErrors : seq<int> with get, set
Public Property TransientErrors As IEnumerable(Of Integer)
List of Number; Set to null
to use the internal list of exceptions from the SqlConfigurableRetryFactory object.
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 |