TransactionEnlistedEventData Class

Definition

The DiagnosticSource event payload for RelationalEventId transaction enlisted events.

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

Remarks

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

Constructors

TransactionEnlistedEventData(EventDefinitionBase, Func<EventDefinitionBase,EventData,String>, Transaction, DbConnection, Guid)

Constructs the event payload.

Properties

Connection

The DbConnection.

ConnectionId

A correlation ID that identifies the DbConnection instance being used.

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

The Transaction.

Methods

ToString()

A logger message describing this event.

(Inherited from EventData)

Applies to