다음을 통해 공유


IDbConnectionInterceptor.ConnectionFailed 메서드

정의

예외로 인해 연결을 닫지 못한 경우 호출됩니다.

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)

매개 변수

connection
DbConnection

연결입니다.

eventData
ConnectionErrorEventData

연결에 대한 컨텍스트 정보입니다.

적용 대상