DbConnectionInterceptor.ConnectionFailed Metodo

Definizione

Chiamato quando l'apertura di una connessione non è riuscita con un'eccezione.

public virtual void ConnectionFailed (System.Data.Common.DbConnection connection, Microsoft.EntityFrameworkCore.Diagnostics.ConnectionErrorEventData eventData);
abstract member ConnectionFailed : System.Data.Common.DbConnection * Microsoft.EntityFrameworkCore.Diagnostics.ConnectionErrorEventData -> unit
override this.ConnectionFailed : System.Data.Common.DbConnection * Microsoft.EntityFrameworkCore.Diagnostics.ConnectionErrorEventData -> unit
Public Overridable Sub ConnectionFailed (connection As DbConnection, eventData As ConnectionErrorEventData)

Parametri

connection
DbConnection

Connessione.

eventData
ConnectionErrorEventData

Informazioni contestuali sulla connessione.

Implementazioni

Si applica a