Partager via


CoreLoggerExtensions.ExecutionStrategyRetrying Méthode

Définition

Journaux de l’événement ExecutionStrategyRetrying .

public static void ExecutionStrategyRetrying (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Infrastructure> diagnostics, System.Collections.Generic.IReadOnlyList<Exception> exceptionsEncountered, TimeSpan delay, bool async);
static member ExecutionStrategyRetrying : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Infrastructure> * System.Collections.Generic.IReadOnlyList<Exception> * TimeSpan * bool -> unit
<Extension()>
Public Sub ExecutionStrategyRetrying (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Infrastructure), exceptionsEncountered As IReadOnlyList(Of Exception), delay As TimeSpan, async As Boolean)

Paramètres

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Infrastructure>

Journal diagnostics à utiliser.

exceptionsEncountered
IReadOnlyList<Exception>

Exceptions à l’origine de l’échec.

delay
TimeSpan

Délai avant la prochaine nouvelle tentative.

async
Boolean

Indique si l’exécution est asynchrone ou non.

S’applique à