다음을 통해 공유


DbConnectionInterceptor.ConnectionFailed 메서드

정의

예외를 제외하고 연결 열기가 실패할 때 호출됩니다.

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)

매개 변수

connection
DbConnection

연결입니다.

eventData
ConnectionErrorEventData

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

구현

적용 대상