다음을 통해 공유


RelationalLoggerExtensions.AmbientTransactionWarning 메서드

정의

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

public static void AmbientTransactionWarning (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Transaction> diagnostics, Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, DateTimeOffset startTime);
static member AmbientTransactionWarning : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Transaction> * Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * DateTimeOffset -> unit
<Extension()>
Public Sub AmbientTransactionWarning (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Database.Transaction), connection As IRelationalConnection, startTime As DateTimeOffset)

매개 변수

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Database.Transaction>

사용할 진단 로거입니다.

connection
IRelationalConnection

연결입니다.

startTime
DateTimeOffset

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

적용 대상