Share via


CoreLoggerExtensions.QueryCanceled Method

Definition

Logs for the QueryCanceled event.

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)

Parameters

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Query>

The diagnostics logger to use.

contextType
Type

The DbContext type being used.

Applies to