Compartir a través de


CoreLoggerExtensions.QueryIterationFailed Método

Definición

Registra el QueryIterationFailed evento.

public static void QueryIterationFailed (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> diagnostics, Type contextType, Exception exception);
static member QueryIterationFailed : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> * Type * Exception -> unit
<Extension()>
Public Sub QueryIterationFailed (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Query), contextType As Type, exception As Exception)

Parámetros

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Query>

Registrador de diagnóstico que se va a usar.

contextType
Type

Tipo DbContext que se usa.

exception
Exception

Excepción que provocó este error.

Se aplica a