CoreLoggerExtensions.ExecutionStrategyRetrying Método

Definição

Logs do ExecutionStrategyRetrying evento.

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)

Parâmetros

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Infrastructure>

O agente diagnóstico a ser usado.

exceptionsEncountered
IReadOnlyList<Exception>

As exceções que causaram a falha.

delay
TimeSpan

O atraso que antes da próxima tentativa.

async
Boolean

Indica se a execução é assíncrona ou não.

Aplica-se a