Share via


SqlRetryingEventArgs Třída

Definice

Představuje sadu argumentů předaných Retrying události.

public ref class SqlRetryingEventArgs sealed : EventArgs
public sealed class SqlRetryingEventArgs : EventArgs
type SqlRetryingEventArgs = class
    inherit EventArgs
Public NotInheritable Class SqlRetryingEventArgs
Inherits EventArgs
Dědičnost
SqlRetryingEventArgs

Konstruktory

SqlRetryingEventArgs(Int32, TimeSpan, IList<Exception>)

Inicializuje novou instanci SqlRetryingEventArgs třídy.

Vlastnosti

Cancel

Získá nebo nastaví hodnotu, která označuje, zda má být logika opakování zrušena.

Delay

Získá aktuální čekací dobu jako TimeSpan objekt.

Exceptions

Získá seznam výjimek od selhání prvního pokusu.

RetryCount

Číslo opakování pokusu za prvním výskytem výjimky.

Platí pro