SqlRetryLogicOption.MaxTimeInterval Property

Definition

Sets the allowed maximum gap time interval as a TimeSpan object.

C#
public TimeSpan MaxTimeInterval { get; set; }

Property Value

TimeSpan The maximum upcoming gap time interval before the next execution attempt; must be between 0 and 120 seconds.

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