SqlRetryingEventArgs.Delay 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.
Gets the current waiting time as a TimeSpan object.
public:
property TimeSpan Delay { TimeSpan get(); };
C#
public TimeSpan Delay { get; }
member this.Delay : TimeSpan
Public ReadOnly Property Delay As TimeSpan
TimeSpan The upcoming gap time before the next execution attempt.
Toode | Versioonid |
---|---|
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 |