Compartilhar via


IRelationalConnectionDiagnosticsLogger.ConnectionClosingAsync Método

Definição

Logs do ConnectionClosing evento.

public System.Threading.Tasks.ValueTask<Microsoft.EntityFrameworkCore.Diagnostics.InterceptionResult> ConnectionClosingAsync (Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, DateTimeOffset startTime);
abstract member ConnectionClosingAsync : Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * DateTimeOffset -> System.Threading.Tasks.ValueTask<Microsoft.EntityFrameworkCore.Diagnostics.InterceptionResult>
Public Function ConnectionClosingAsync (connection As IRelationalConnection, startTime As DateTimeOffset) As ValueTask(Of InterceptionResult)

Parâmetros

connection
IRelationalConnection

A conexão.

startTime
DateTimeOffset

A hora em que a operação foi iniciada.

Retornos

Um Task que representa a operação assíncrona.

Aplica-se a