Share via


DatabaseLogFormatter.ConnectionStringGetting Method

Definition

Does not write to log unless overridden.

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

Parameters

connection
DbConnection

The connection.

interceptionContext
DbConnectionInterceptionContext<String>

Contextual information associated with the call.

Implements

Applies to