Share via


NavigationEventData Class

Definition

A DiagnosticSource event payload class for events that have an INavigation.

[System.Runtime.CompilerServices.Nullable(0)]
public class NavigationEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventData, Microsoft.EntityFrameworkCore.Diagnostics.INavigationBaseEventData
public class NavigationEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventData
public class NavigationEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventData, Microsoft.EntityFrameworkCore.Diagnostics.INavigationBaseEventData
[<System.Runtime.CompilerServices.Nullable(0)>]
type NavigationEventData = class
    inherit EventData
    interface INavigationBaseEventData
type NavigationEventData = class
    inherit EventData
type NavigationEventData = class
    inherit EventData
    interface INavigationBaseEventData
Public Class NavigationEventData
Inherits EventData
Implements INavigationBaseEventData
Public Class NavigationEventData
Inherits EventData
Inheritance
NavigationEventData
Derived
Attributes
Implements

Remarks

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

Constructors

Name Description
NavigationEventData(EventDefinitionBase, Func<EventDefinitionBase,EventData,String>, INavigation)

Constructs the event payload.

NavigationEventData(EventDefinitionBase, Func<EventDefinitionBase,EventData,String>, IReadOnlyNavigation)

Constructs the event payload.

Properties

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

The navigation.

Methods

Name Description
ToString()

A logger message describing this event.

(Inherited from EventData)

Explicit Interface Implementations

Name Description
INavigationBaseEventData.NavigationBase

The navigation.

Applies to