ExecutionStrategyEventData Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Constructs the event payload.
public ExecutionStrategyEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, System.Collections.Generic.IReadOnlyList<Exception> exceptionsEncountered, TimeSpan delay, bool async);
new Microsoft.EntityFrameworkCore.Diagnostics.ExecutionStrategyEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * System.Collections.Generic.IReadOnlyList<Exception> * TimeSpan * bool -> Microsoft.EntityFrameworkCore.Diagnostics.ExecutionStrategyEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), exceptionsEncountered As IReadOnlyList(Of Exception), delay As TimeSpan, async As Boolean)
Parameters
- eventDefinition
- EventDefinitionBase
The event definition.
- messageGenerator
- Func<EventDefinitionBase,EventData,String>
A delegate that generates a log message for this event.
- exceptionsEncountered
- IReadOnlyList<Exception>
The exceptions that have been caught during the execution of an operation.
- delay
- TimeSpan
The delay before retrying the operation.
- async
- Boolean
Indicates whether the command was executed asynchronously.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.