CoreLoggerExtensions.QueryIterationFailed(IDiagnosticsLogger<DbLoggerCategory.Query>, Type, Exception) Methode

Definition

Protokolle für das QueryIterationFailed Ereignis.

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)

Parameter

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Query>

Die zu verwendende Diagnoseprotokollierung.

contextType
Type

Der DbContext verwendete Typ.

exception
Exception

Die Ausnahme, die diesen Fehler verursacht hat.

Gilt für: