Sprache

IDbConnectionInterceptor.StateGetting Methode

Definition

Wird aufgerufen, bevor State sie abgerufen wird.

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))

Parameter

connection
DbConnection

Die Verbindung.

interceptionContext
DbConnectionInterceptionContext<ConnectionState>

Kontextbezogene Informationen, die dem Anruf zugeordnet sind.

Gilt für: