다음을 통해 공유


RelationalLoggerExtensions.ConnectionClosing 메서드

정의

이벤트에 대한 로그입니다 ConnectionClosing .

public static Microsoft.EntityFrameworkCore.Diagnostics.InterceptionResult ConnectionClosing (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Connection> diagnostics, Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, DateTimeOffset startTime);
static member ConnectionClosing : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Connection> * Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * DateTimeOffset -> Microsoft.EntityFrameworkCore.Diagnostics.InterceptionResult
<Extension()>
Public Function ConnectionClosing (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Database.Connection), connection As IRelationalConnection, startTime As DateTimeOffset) As InterceptionResult

매개 변수

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Database.Connection>

사용할 진단 로거입니다.

connection
IRelationalConnection

연결입니다.

startTime
DateTimeOffset

작업이 시작된 시간입니다.

반환

인터셉터에 의해 수정되었을 수 있는 실행 결과입니다.

적용 대상