Freigeben über


IncludeEventData Konstruktor

Definition

Erstellt die Ereignisnutzlast.

public IncludeEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, Microsoft.EntityFrameworkCore.Query.ResultOperators.Internal.IncludeResultOperator includeResultOperator);
new Microsoft.EntityFrameworkCore.Diagnostics.IncludeEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * Microsoft.EntityFrameworkCore.Query.ResultOperators.Internal.IncludeResultOperator -> Microsoft.EntityFrameworkCore.Diagnostics.IncludeEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), includeResultOperator As IncludeResultOperator)

Parameter

eventDefinition
EventDefinitionBase

Die Ereignisdefinition.

messageGenerator
Func<EventDefinitionBase,EventData,String>

Ein Delegat, der eine Protokollmeldung für dieses Ereignis generiert.

includeResultOperator
Microsoft.EntityFrameworkCore.Query.ResultOperators.Internal.IncludeResultOperator

Die IncludeResultOperator.

Gilt für: