CoreLoggerExtensions.ExecutionStrategyRetrying Methode

Definition

Protokolle für das ExecutionStrategyRetrying Ereignis.

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)

Parameter

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Infrastructure>

Die zu verwendende Diagnose-Protokollierung.

exceptionsEncountered
IReadOnlyList<Exception>

Die Ausnahmen, die den Fehler verursacht haben.

delay
TimeSpan

Die Verzögerung vor dem nächsten Wiederholungsversuch.

async
Boolean

Gibt an, ob die Ausführung asynchron ist oder nicht.

Gilt für: