Sdílet prostřednictvím


TypeEventData Konstruktor

Definice

Vytvoří datovou část události.

public TypeEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, Type clrType);
new Microsoft.EntityFrameworkCore.Diagnostics.TypeEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * Type -> Microsoft.EntityFrameworkCore.Diagnostics.TypeEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), clrType As Type)

Parametry

eventDefinition
EventDefinitionBase

Definice události.

messageGenerator
Func<EventDefinitionBase,EventData,String>

Delegát, který generuje zprávu protokolu pro tuto událost.

clrType
Type

Přidružená Type k této události.

Platí pro