Share via


DbTransactionDispatcher.Rollback(DbTransaction, DbInterceptionContext) Method

Definition

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

Parameters

transaction
DbTransaction

The transaction on which the operation will be executed.

interceptionContext
DbInterceptionContext

Optional information about the context of the call being made.

Applies to