SequenceEventData 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
SequenceEventData(EventDefinitionBase, Func<EventDefinitionBase,EventData,String>, IReadOnlySequence)
- Source:
- SequenceEventData.cs
- Source:
- SequenceEventData.cs
- Source:
- SequenceEventData.cs
- Source:
- SequenceEventData.cs
构造事件有效负载。
public SequenceEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, Microsoft.EntityFrameworkCore.Metadata.IReadOnlySequence sequence);
new Microsoft.EntityFrameworkCore.Diagnostics.SequenceEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * Microsoft.EntityFrameworkCore.Metadata.IReadOnlySequence -> Microsoft.EntityFrameworkCore.Diagnostics.SequenceEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), sequence As IReadOnlySequence)
参数
- eventDefinition
- EventDefinitionBase
事件定义。
- messageGenerator
- Func<EventDefinitionBase,EventData,String>
生成此事件的日志消息的委托。
- sequence
- IReadOnlySequence
序列。
适用于
SequenceEventData(EventDefinitionBase, Func<EventDefinitionBase,EventData,String>, ISequence)
- Source:
- SequenceEventData.cs
- Source:
- SequenceEventData.cs
- Source:
- SequenceEventData.cs
- Source:
- SequenceEventData.cs
- Source:
- SequenceEventData.cs
构造事件有效负载。
public SequenceEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, Microsoft.EntityFrameworkCore.Metadata.ISequence sequence);
new Microsoft.EntityFrameworkCore.Diagnostics.SequenceEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * Microsoft.EntityFrameworkCore.Metadata.ISequence -> Microsoft.EntityFrameworkCore.Diagnostics.SequenceEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), sequence As ISequence)
参数
- eventDefinition
- EventDefinitionBase
事件定义。
- messageGenerator
- Func<EventDefinitionBase,EventData,String>
生成此事件的日志消息的委托。
- sequence
- ISequence
序列。