Share via


DatabaseLogFormatter.StateGot Method

Definition

Does not write to log unless overridden.

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

Parameters

connection
DbConnection

The connection.

interceptionContext
DbConnectionInterceptionContext<ConnectionState>

Contextual information associated with the call.

Implements

Applies to