Partilhar via


RelationalLoggerExtensions.NonQueryOperationFailed Método

Definição

Logs do NonQueryOperationFailed evento.

public static void NonQueryOperationFailed (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> diagnostics, Type contextType, Exception exception);
static member NonQueryOperationFailed : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> * Type * Exception -> unit
<Extension()>
Public Sub NonQueryOperationFailed (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