Condividi tramite


CoreLoggerExtensions.SaveChangesFailed Metodo

Definizione

Registra l'evento SaveChangesFailed .

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)

Parametri

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Update>

Logger di diagnostica da usare.

context
DbContext

Contesto in uso.

exception
Exception

Eccezione che ha causato questo evento.

Si applica a