Share via


IndexEventData Class

Definition

A DiagnosticSource event payload class for the events involving an invalid index.

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

Remarks

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

Constructors

IndexEventData(EventDefinitionBase, Func<EventDefinitionBase,EventData,String>, IEntityType, String, List<String>)

Constructs the event payload for events involving an invalid index.

Properties

EntityType

The entity type on which the index is defined.

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)
LogLevel

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

(Inherited from EventData)
Name

The name of the index.

PropertyNames

The list of properties which define the index.

Methods

ToString()

A logger message describing this event.

(Inherited from EventData)

Applies to