다음을 통해 공유


IDiagnosticsLogger.DispatchEventData 메서드

정의

지정된 EventDataDiagnosticSource를 에 디스패치하고, 사용하도록 설정된 경우 및 를 IDbContextLogger디스패치합니다.

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)

매개 변수

definition
EventDefinitionBase

기록할 이벤트의 정의입니다.

eventData
EventData

이벤트 데이터입니다.

diagnosticSourceEnabled
Boolean

True이면 에 디스패치하고, 그렇지 않으면 입니다DiagnosticSourcefalse.

simpleLogEnabled
Boolean

True이면 에 디스패치하고, 그렇지 않으면 입니다IDbContextLoggerfalse.

적용 대상