CoreLoggerExtensions.QueryIterationFailed(IDiagnosticsLogger<DbLoggerCategory.Query>, Type, Exception) Méthode

Définition

Journalise l' QueryIterationFailed événement.

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)

Paramètres

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Query>

Enregistreur d’événements de diagnostic à utiliser.

contextType
Type

DbContextType utilisé.

exception
Exception

Exception à l’origine de cet échec.

S’applique à