Udostępnij za pośrednictwem


RelationalLoggerExtensions.ExecuteDeleteFailed Metoda

Definicja

Rejestruje zdarzenie ExecuteDeleteFailed .

public static void ExecuteDeleteFailed (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> diagnostics, Type contextType, Exception exception);
static member ExecuteDeleteFailed : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> * Type * Exception -> unit
<Extension()>
Public Sub ExecuteDeleteFailed (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Query), contextType As Type, exception As Exception)

Parametry

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Query>

Rejestrator diagnostyczny do użycia.

contextType
Type

Używany DbContext typ.

exception
Exception

Wyjątek, który spowodował ten błąd.

Dotyczy