Freigeben über


CoreLoggerExtensions.SaveChangesCanceled Methode

Definition

Protokolle für das SaveChangesFailed Ereignis.

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

Parameter

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Update>

Die zu verwendende Diagnose-Protokollierung.

context
DbContext

Der verwendete Kontext.

Gilt für: