DatabaseLogFormatter.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) |
Does not write to log unless overridden. |
Disposed(DbTransaction, DbTransactionInterceptionContext) |
Does not write to log unless overridden. |
Disposed(DbConnection, DbConnectionInterceptionContext)
Does not write to log unless overridden.
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)
Does not write to log unless overridden.
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
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