TransactionHandler.Disposed Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Disposed(DbConnection, DbConnectionInterceptionContext) |
Can be implemented in a derived class. |
Disposed(DbTransaction, DbTransactionInterceptionContext) |
Can be implemented in a derived class. |
Disposed(DbConnection, DbConnectionInterceptionContext)
Can be implemented in a derived class.
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)
Parameters
- connection
- DbConnection
The connection that was disposed.
- interceptionContext
- DbConnectionInterceptionContext
Contextual information associated with the call.
Implements
Applies to
Disposed(DbTransaction, DbTransactionInterceptionContext)
Can be implemented in a derived class.
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)
Parameters
- transaction
- DbTransaction
The transaction that was disposed.
- interceptionContext
- DbTransactionInterceptionContext
Contextual information associated with the call.
Implements
See also
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework