Aracılığıyla paylaş


RelationalLoggerExtensions.ExecuteDeleteFailed Yöntem

Tanım

Olay için ExecuteDeleteFailed günlükler.

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)

Parametreler

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Query>

Kullanılacak tanılama günlükçü.

contextType
Type

DbContext Kullanılan tür.

exception
Exception

Bu hataya neden olan özel durum.

Şunlara uygulanır