다음을 통해 공유


ISaveChangesInterceptor.SaveChangesFailed(DbContextErrorEventData) 메서드

정의

에서 DbContext.SaveChanges예외가 throw되었을 때 호출됩니다.

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

오류에 대한 컨텍스트 정보입니다.

적용 대상