Compartilhar via


CoreLoggerExtensions.QueryIterationFailed Método

Definição

Logs do 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>

O agente diagnóstico a ser usado.

contextType
Type

O DbContext tipo que está sendo usado.

exception
Exception

A exceção que causou essa falha.

Aplica-se a