Share via


IndexEventData Class

Definition

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

[System.Runtime.CompilerServices.Nullable(0)]
public class IndexEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventData
public class IndexEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventData
[<System.Runtime.CompilerServices.Nullable(0)>]
type IndexEventData = class
    inherit EventData
type IndexEventData = class
    inherit EventData
Public Class IndexEventData
Inherits EventData
Inheritance
IndexEventData
Attributes

Remarks

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

Constructors

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

Constructs the event payload for events involving an invalid index.

Properties

Name Description
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

Name Description
ToString()

A logger message describing this event.

(Inherited from EventData)

Applies to