Compartilhar via


IDbConnectionInterceptor.ConnectionDisposed Método

Definição

Chamado logo após o EF ter chamado Dispose() em um contexto assíncrono.

public virtual void ConnectionDisposed (System.Data.Common.DbConnection connection, Microsoft.EntityFrameworkCore.Diagnostics.ConnectionEndEventData eventData);
abstract member ConnectionDisposed : System.Data.Common.DbConnection * Microsoft.EntityFrameworkCore.Diagnostics.ConnectionEndEventData -> unit
override this.ConnectionDisposed : System.Data.Common.DbConnection * Microsoft.EntityFrameworkCore.Diagnostics.ConnectionEndEventData -> unit
Public Overridable Sub ConnectionDisposed (connection As DbConnection, eventData As ConnectionEndEventData)

Parâmetros

connection
DbConnection

A conexão.

eventData
ConnectionEndEventData

Informações contextuais sobre a conexão.

Aplica-se a