Condividi tramite


ExecutionStrategyEventData Class

Definition

The DiagnosticSource event payload for CoreEventId execution strategy events.

public class ExecutionStrategyEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventData
type ExecutionStrategyEventData = class
    inherit EventData
Public Class ExecutionStrategyEventData
Inherits EventData
Inheritance
ExecutionStrategyEventData

Remarks

See Logging, events, and diagnostics for more information and examples.

Constructors

ExecutionStrategyEventData(EventDefinitionBase, Func<EventDefinitionBase,EventData,String>, IReadOnlyList<Exception>, TimeSpan, Boolean)

Constructs the event payload.

Properties

Delay

The delay before retrying the operation.

EventId

The EventId that defines the message ID and name.

(Inherited from EventData)
EventIdCode

A string representing the code where this event is defined.

(Inherited from EventData)
ExceptionsEncountered

A correlation ID that identifies the DbConnection instance being used.

IsAsync

Indicates whether the operation is being executed asynchronously.

LogLevel

The LogLevel that would be used to log message for this event.

(Inherited from EventData)

Methods

ToString()

A logger message describing this event.

(Inherited from EventData)

Applies to