Partager via


RelationalLoggerExtensions.NonQueryOperationFailed Méthode

Définition

Journaux de l’événement NonQueryOperationFailed .

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)

Paramètres

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Query>

Journal diagnostics à utiliser.

contextType
Type

Type DbContext utilisé.

exception
Exception

Exception à l’origine de cet échec.

S’applique à