Compartir a través de


IRelationalConnectionDiagnosticsLogger.ConnectionOpeningAsync Método

Definición

Registros del ConnectionOpening evento.

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

Parámetros

connection
IRelationalConnection

La conexión.

startTime
DateTimeOffset

Hora a la que se inició la operación.

cancellationToken
CancellationToken

que CancellationToken se va a observar mientras espera a que se complete la tarea.

Devoluciones

que Task representa la operación asincrónica.

Excepciones

Se aplica a