IDbConnectionInterceptor.ConnectionFailed Yöntem

Tanım

Bağlantı kapatıldığında özel durumla başarısız olduğunda çağrılır.

public void ConnectionFailed (System.Data.Common.DbConnection connection, Microsoft.EntityFrameworkCore.Diagnostics.ConnectionErrorEventData eventData);
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
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 Sub ConnectionFailed (connection As DbConnection, eventData As ConnectionErrorEventData)
Public Overridable Sub ConnectionFailed (connection As DbConnection, eventData As ConnectionErrorEventData)

Parametreler

connection
DbConnection

Bağlantı.

eventData
ConnectionErrorEventData

Bağlantı hakkında bağlamsal bilgiler.

Şunlara uygulanır