IDiagnosticsLogger.DispatchEventData Metodo

Definizione

Invia l'oggetto specificato EventData a , DiagnosticSourcese abilitato e , IDbContextLoggerse abilitato.

public virtual void DispatchEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase definition, Microsoft.EntityFrameworkCore.Diagnostics.EventData eventData, bool diagnosticSourceEnabled, bool simpleLogEnabled);
abstract member DispatchEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Microsoft.EntityFrameworkCore.Diagnostics.EventData * bool * bool -> unit
override this.DispatchEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Microsoft.EntityFrameworkCore.Diagnostics.EventData * bool * bool -> unit
Public Overridable Sub DispatchEventData (definition As EventDefinitionBase, eventData As EventData, diagnosticSourceEnabled As Boolean, simpleLogEnabled As Boolean)

Parametri

definition
EventDefinitionBase

Definizione dell'evento da registrare.

eventData
EventData

Dati dell'evento.

diagnosticSourceEnabled
Boolean

True per inviare a un DiagnosticSourceoggetto ; false in caso contrario.

simpleLogEnabled
Boolean

True per inviare a un IDbContextLoggeroggetto ; false in caso contrario.

Si applica a