Partager via


CoreLoggerExtensions.QueryCanceled Méthode

Définition

Journaux de l’événement 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)

Paramètres

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Query>

Enregistreur d’diagnostics à utiliser.

contextType
Type

Type DbContext utilisé.

S’applique à