Freigeben über


CoreLoggerExtensions.SaveChangesFailed Methode

Definition

Protokolle für das SaveChangesFailed Ereignis.

public static void SaveChangesFailed (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Update> diagnostics, Microsoft.EntityFrameworkCore.DbContext context, Exception exception);
static member SaveChangesFailed : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Update> * Microsoft.EntityFrameworkCore.DbContext * Exception -> unit
<Extension()>
Public Sub SaveChangesFailed (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Update), context As DbContext, exception As Exception)

Parameter

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Update>

Die zu verwendende Diagnose-Protokollierung.

context
DbContext

Der verwendete Kontext.

exception
Exception

Die Ausnahme, die dieses Ereignis verursacht hat.

Gilt für: