Поделиться через


TransactionHandler.Disposed Метод

Определение

Перегрузки

Disposed(DbConnection, DbConnectionInterceptionContext)

Может быть реализована в производном классе.

Disposed(DbTransaction, DbTransactionInterceptionContext)

Может быть реализована в производном классе.

Disposed(DbConnection, DbConnectionInterceptionContext)

Может быть реализована в производном классе.

public virtual void Disposed (System.Data.Common.DbConnection connection, System.Data.Entity.Infrastructure.Interception.DbConnectionInterceptionContext interceptionContext);
abstract member Disposed : System.Data.Common.DbConnection * System.Data.Entity.Infrastructure.Interception.DbConnectionInterceptionContext -> unit
override this.Disposed : System.Data.Common.DbConnection * System.Data.Entity.Infrastructure.Interception.DbConnectionInterceptionContext -> unit
Public Overridable Sub Disposed (connection As DbConnection, interceptionContext As DbConnectionInterceptionContext)

Параметры

connection
DbConnection

Подключение, которое было удалено.

interceptionContext
DbConnectionInterceptionContext

Контекстная информация, связанная с вызовом.

Реализации

Применяется к

Disposed(DbTransaction, DbTransactionInterceptionContext)

Может быть реализована в производном классе.

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

Параметры

transaction
DbTransaction

Удаленная транзакция.

interceptionContext
DbTransactionInterceptionContext

Контекстная информация, связанная с вызовом.

Реализации

См. также раздел

Применяется к