CoreLoggerExtensions.QueryCanceled Methode

Definition

Protokolle für das QueryCanceled Ereignis.

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)

Parameter

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Query>

Die zu verwendende Diagnose-Protokollierung.

contextType
Type

Der DbContext verwendete Typ.

Gilt für: