Share via


DatabaseLogFormatter.RolledBack Method

Definition

This method is called after Rollback() is invoked. The default implementation of this method filters by DbContext set into Context, if any, and then logs the event.

public virtual void RolledBack (System.Data.Common.DbTransaction transaction, System.Data.Entity.Infrastructure.Interception.DbTransactionInterceptionContext interceptionContext);
abstract member RolledBack : System.Data.Common.DbTransaction * System.Data.Entity.Infrastructure.Interception.DbTransactionInterceptionContext -> unit
override this.RolledBack : System.Data.Common.DbTransaction * System.Data.Entity.Infrastructure.Interception.DbTransactionInterceptionContext -> unit
Public Overridable Sub RolledBack (transaction As DbTransaction, interceptionContext As DbTransactionInterceptionContext)

Parameters

transaction
DbTransaction

The transaction that was rolled back.

interceptionContext
DbTransactionInterceptionContext

Contextual information associated with the call.

Implements

Applies to