CoreLoggerExtensions.SaveChangesFailed Yöntem

Tanım

Olay için SaveChangesFailed günlükler.

public static void SaveChangesFailed (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Update> diagnostics, Microsoft.EntityFrameworkCore.DbContext context, Exception exception);
static member SaveChangesFailed : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Update> * Microsoft.EntityFrameworkCore.DbContext * Exception -> unit
<Extension()>
Public Sub SaveChangesFailed (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Update), context As DbContext, exception As Exception)

Parametreler

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Update>

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

context
DbContext

Kullanımdaki bağlam.

exception
Exception

Bu olaya neden olan özel durum.

Şunlara uygulanır