IRelationalConnectionDiagnosticsLogger.ConnectionDisposingAsync Metodo

Definizione

Registra l'evento ConnectionDisposing .

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

Parametri

connection
IRelationalConnection

Connessione.

startTime
DateTimeOffset

Ora di avvio dell'operazione.

Restituisce

Oggetto Task che rappresenta l'operazione asincrona.

Si applica a