次の方法で共有


ISaveChangesInterceptor.SaveChangesFailed(DbContextErrorEventData) メソッド

定義

DbContext.SaveChanges例外がスローされたときに呼び出されます。

public void SaveChangesFailed (Microsoft.EntityFrameworkCore.Diagnostics.DbContextErrorEventData eventData);
public virtual void SaveChangesFailed (Microsoft.EntityFrameworkCore.Diagnostics.DbContextErrorEventData eventData);
abstract member SaveChangesFailed : Microsoft.EntityFrameworkCore.Diagnostics.DbContextErrorEventData -> unit
abstract member SaveChangesFailed : Microsoft.EntityFrameworkCore.Diagnostics.DbContextErrorEventData -> unit
override this.SaveChangesFailed : Microsoft.EntityFrameworkCore.Diagnostics.DbContextErrorEventData -> unit
Public Sub SaveChangesFailed (eventData As DbContextErrorEventData)
Public Overridable Sub SaveChangesFailed (eventData As DbContextErrorEventData)

パラメーター

eventData
DbContextErrorEventData

エラーに関するコンテキスト情報。

適用対象