SequenceEventData 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
SequenceEventData(EventDefinitionBase, Func<EventDefinitionBase,EventData,String>, IReadOnlySequence)
建構事件承載。
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)
建構事件承載。
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
順序。