Condividi tramite


CoreLoggerExtensions.QueryCanceled Metodo

Definizione

Registra l'evento QueryCanceled .

public static void QueryCanceled (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> diagnostics, Type contextType);
static member QueryCanceled : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> * Type -> unit
<Extension()>
Public Sub QueryCanceled (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Query), contextType As Type)

Parametri

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Query>

Logger di diagnostica da usare.

contextType
Type

Tipo DbContext utilizzato.

Si applica a