次の方法で共有


IDbConnectionInterceptor.StateGetting メソッド

定義

が取得される前に State 呼び出されます。

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

パラメーター

connection
DbConnection

接続。

interceptionContext
DbConnectionInterceptionContext<ConnectionState>

呼び出しに関連付けられているコンテキスト情報。

適用対象