Share via


IRelationalConnectionDiagnosticsLogger.ConnectionCanceled Method

Definition

Logs for the ConnectionCanceled event.

public void ConnectionCanceled(Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, DateTimeOffset startTime, TimeSpan duration);
abstract member ConnectionCanceled : Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * DateTimeOffset * TimeSpan -> unit
Public Sub ConnectionCanceled (connection As IRelationalConnection, startTime As DateTimeOffset, duration As TimeSpan)

Parameters

connection
IRelationalConnection

The connection.

startTime
DateTimeOffset

The time that the operation was started.

duration
TimeSpan

The amount of time that passed until the command was canceled.

Applies to