TransactionHandler.Disposing 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
Disposing(DbConnection, DbConnectionInterceptionContext) |
Can be implemented in a derived class. |
Disposing(DbTransaction, DbTransactionInterceptionContext) |
Can be implemented in a derived class. |
Disposing(DbConnection, DbConnectionInterceptionContext)
Can be implemented in a derived class.
public virtual void Disposing (System.Data.Common.DbConnection connection, System.Data.Entity.Infrastructure.Interception.DbConnectionInterceptionContext interceptionContext);
abstract member Disposing : System.Data.Common.DbConnection * System.Data.Entity.Infrastructure.Interception.DbConnectionInterceptionContext -> unit
override this.Disposing : System.Data.Common.DbConnection * System.Data.Entity.Infrastructure.Interception.DbConnectionInterceptionContext -> unit
Public Overridable Sub Disposing (connection As DbConnection, interceptionContext As DbConnectionInterceptionContext)
Parameters
- connection
- DbConnection
The connection being disposed.
- interceptionContext
- DbConnectionInterceptionContext
Contextual information associated with the call.
Implements
Applies to
Disposing(DbTransaction, DbTransactionInterceptionContext)
Can be implemented in a derived class.
public virtual void Disposing (System.Data.Common.DbTransaction transaction, System.Data.Entity.Infrastructure.Interception.DbTransactionInterceptionContext interceptionContext);
abstract member Disposing : System.Data.Common.DbTransaction * System.Data.Entity.Infrastructure.Interception.DbTransactionInterceptionContext -> unit
override this.Disposing : System.Data.Common.DbTransaction * System.Data.Entity.Infrastructure.Interception.DbTransactionInterceptionContext -> unit
Public Overridable Sub Disposing (transaction As DbTransaction, interceptionContext As DbTransactionInterceptionContext)
Parameters
- transaction
- DbTransaction
The transaction being disposed.
- interceptionContext
- DbTransactionInterceptionContext
Contextual information associated with the call.
Implements
See also
Applies to
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for