Partilhar via


CoreLoggerExtensions.SaveChangesFailed Método

Definição

Logs do SaveChangesFailed evento.

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)

Parâmetros

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Update>

O agente diagnóstico a ser usado.

context
DbContext

O contexto em uso.

exception
Exception

A exceção que causou esse evento.

Aplica-se a