ISaveChangesInterceptor.SaveChangesFailed(DbContextErrorEventData) Method

Definition

Called when an exception has been thrown in DbContext.SaveChanges.

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

Parameters

eventData
DbContextErrorEventData

Contextual information about the failure.

Applies to