SqlRetryingEventArgs Class
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.
Represents the set of arguments passed to the Retrying event.
public ref class SqlRetryingEventArgs sealed : EventArgs
C#
public sealed class SqlRetryingEventArgs : EventArgs
type SqlRetryingEventArgs = class
inherit EventArgs
Public NotInheritable Class SqlRetryingEventArgs
Inherits EventArgs
- Inheritance
-
SqlRetryingEventArgs
Sql |
Initializes a new instance of the SqlRetryingEventArgs class. |
Cancel |
Gets or sets a value that indicates whether the retry logic should be canceled. |
Delay |
Gets the current waiting time as a TimeSpan object. |
Exceptions |
Gets the list of exceptions since the first attempt failure. |
Retry |
Retry-attempt-number, after the first exception occurrence. |
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 |