Compartilhar via


IDbConnectionInterceptor.StateGetting Método

Definição

Chamado antes State de ser recuperado.

public void StateGetting (System.Data.Common.DbConnection connection, System.Data.Entity.Infrastructure.Interception.DbConnectionInterceptionContext<System.Data.ConnectionState> interceptionContext);
abstract member StateGetting : System.Data.Common.DbConnection * System.Data.Entity.Infrastructure.Interception.DbConnectionInterceptionContext<System.Data.ConnectionState> -> unit
Public Sub StateGetting (connection As DbConnection, interceptionContext As DbConnectionInterceptionContext(Of ConnectionState))

Parâmetros

connection
DbConnection

A conexão.

interceptionContext
DbConnectionInterceptionContext<ConnectionState>

Informações contextuais associadas à chamada.

Aplica-se a