共用方式為


RelationalLoggerExtensions.BatchExecutorFailedToRollbackToSavepoint 方法

定義

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

參數

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Update>

要使用的診斷記錄器。

contextType
Type

DbContext所使用的型別。

exception
Exception

造成此失敗的例外狀況。

適用於