Compartilhar via


ISaveChangesInterceptor.SaveChangesFailed(DbContextErrorEventData) Método

Definição

Chamado quando uma exceção foi lançada em 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)

Parâmetros

eventData
DbContextErrorEventData

Informações contextuais sobre a falha.

Aplica-se a