Compartilhar via


RelationalLoggerExtensions.ExecuteDeleteFailed Método

Definição

Logs do ExecuteDeleteFailed evento.

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)

Parâmetros

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Query>

O agente diagnóstico a ser usado.

contextType
Type

O DbContext tipo que está sendo usado.

exception
Exception

A exceção que causou essa falha.

Aplica-se a