TransactionHandler.ConnectionStringGot Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Kann in einer abgeleiteten Klasse implementiert werden.
public virtual void ConnectionStringGot(System.Data.Common.DbConnection connection, System.Data.Entity.Infrastructure.Interception.DbConnectionInterceptionContext<string> interceptionContext);
abstract member ConnectionStringGot : System.Data.Common.DbConnection * System.Data.Entity.Infrastructure.Interception.DbConnectionInterceptionContext<string> -> unit
override this.ConnectionStringGot : System.Data.Common.DbConnection * System.Data.Entity.Infrastructure.Interception.DbConnectionInterceptionContext<string> -> unit
Public Overridable Sub ConnectionStringGot (connection As DbConnection, interceptionContext As DbConnectionInterceptionContext(Of String))
Parameter
- connection
- DbConnection
Die Verbindung.
- interceptionContext
- DbConnectionInterceptionContext<String>
Kontextinformationen, die dem Aufruf zugeordnet sind.