언어

IRelationalCommandDiagnosticsLogger.CommandCanceled 메서드

정의

오버로드

CommandCanceled(IRelationalConnection, DbCommand, DbContext, DbCommandMethod, Guid, Guid, DateTimeOffset, TimeSpan, CommandSource)

Source:
IRelationalCommandDiagnosticsLogger.cs
Source:
IRelationalCommandDiagnosticsLogger.cs
Source:
IRelationalCommandDiagnosticsLogger.cs

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

public void CommandCanceled(Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, System.Data.Common.DbCommand command, Microsoft.EntityFrameworkCore.DbContext? context, Microsoft.EntityFrameworkCore.Diagnostics.DbCommandMethod executeMethod, Guid commandId, Guid connectionId, DateTimeOffset startTime, TimeSpan duration, Microsoft.EntityFrameworkCore.Diagnostics.CommandSource commandSource);
abstract member CommandCanceled : Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * System.Data.Common.DbCommand * Microsoft.EntityFrameworkCore.DbContext * Microsoft.EntityFrameworkCore.Diagnostics.DbCommandMethod * Guid * Guid * DateTimeOffset * TimeSpan * Microsoft.EntityFrameworkCore.Diagnostics.CommandSource -> unit
Public Sub CommandCanceled (connection As IRelationalConnection, command As DbCommand, context As DbContext, executeMethod As DbCommandMethod, commandId As Guid, connectionId As Guid, startTime As DateTimeOffset, duration As TimeSpan, commandSource As CommandSource)

매개 변수

connection
IRelationalConnection

연결입니다.

command
DbCommand

데이터베이스 명령 개체입니다.

context
DbContext

현재 사용 중인 값으로 DbContext , 알 수 없는 경우 null입니다.

executeMethod
DbCommandMethod

명령을 실행하기 위해 호출될 메서드를 나타냅니다.

commandId
Guid

지정된 DbCommand것과 연결된 상관 관계 ID입니다.

connectionId
Guid

사용 중인 것과 연결된 DbConnection 상관 관계 ID입니다.

startTime
DateTimeOffset

실행이 시작된 시간입니다.

duration
TimeSpan

예외가 발생할 때까지 경과된 시간입니다.

commandSource
CommandSource

명령의 원본입니다.

적용 대상

CommandCanceled(IRelationalConnection, DbCommand, String, DbContext, DbCommandMethod, Guid, Guid, DateTimeOffset, TimeSpan, CommandSource)

Source:
IRelationalCommandDiagnosticsLogger.cs
Source:
IRelationalCommandDiagnosticsLogger.cs

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

public void CommandCanceled(Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, System.Data.Common.DbCommand command, string logCommandText, Microsoft.EntityFrameworkCore.DbContext? context, Microsoft.EntityFrameworkCore.Diagnostics.DbCommandMethod executeMethod, Guid commandId, Guid connectionId, DateTimeOffset startTime, TimeSpan duration, Microsoft.EntityFrameworkCore.Diagnostics.CommandSource commandSource);
abstract member CommandCanceled : Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * System.Data.Common.DbCommand * string * Microsoft.EntityFrameworkCore.DbContext * Microsoft.EntityFrameworkCore.Diagnostics.DbCommandMethod * Guid * Guid * DateTimeOffset * TimeSpan * Microsoft.EntityFrameworkCore.Diagnostics.CommandSource -> unit
Public Sub CommandCanceled (connection As IRelationalConnection, command As DbCommand, logCommandText As String, context As DbContext, executeMethod As DbCommandMethod, commandId As Guid, connectionId As Guid, startTime As DateTimeOffset, duration As TimeSpan, commandSource As CommandSource)

매개 변수

connection
IRelationalConnection

연결입니다.

command
DbCommand

데이터베이스 명령 개체입니다.

logCommandText
String

기록할 수 있는 명령 텍스트입니다.

context
DbContext

현재 사용 중인 값으로 DbContext , 알 수 없는 경우 null입니다.

executeMethod
DbCommandMethod

명령을 실행하기 위해 호출될 메서드를 나타냅니다.

commandId
Guid

지정된 DbCommand것과 연결된 상관 관계 ID입니다.

connectionId
Guid

사용 중인 것과 연결된 DbConnection 상관 관계 ID입니다.

startTime
DateTimeOffset

실행이 시작된 시간입니다.

duration
TimeSpan

명령이 취소될 때까지 경과된 시간입니다.

commandSource
CommandSource

명령의 원본입니다.

적용 대상