Partager via


TransactionEndEventData Constructeurs

Définition

Surcharges

TransactionEndEventData(EventDefinitionBase, Func<EventDefinitionBase,EventData,String>, DbTransaction, Guid, Guid, DateTimeOffset, TimeSpan)

Construit la charge utile d’événement.

TransactionEndEventData(EventDefinitionBase, Func<EventDefinitionBase, EventData,String>, DbTransaction, DbContext, Guid, Guid, Boolean, DateTimeOffset, TimeSpan)

Construit la charge utile d’événement.

TransactionEndEventData(EventDefinitionBase, Func<EventDefinitionBase,EventData,String>, DbTransaction, Guid, Guid, DateTimeOffset, TimeSpan)

Source:
TransactionEndEventData.cs
Source:
TransactionEndEventData.cs

Construit la charge utile d’événement.

public TransactionEndEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, System.Data.Common.DbTransaction transaction, Guid transactionId, Guid connectionId, DateTimeOffset startTime, TimeSpan duration);
new Microsoft.EntityFrameworkCore.Diagnostics.TransactionEndEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * System.Data.Common.DbTransaction * Guid * Guid * DateTimeOffset * TimeSpan -> Microsoft.EntityFrameworkCore.Diagnostics.TransactionEndEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), transaction As DbTransaction, transactionId As Guid, connectionId As Guid, startTime As DateTimeOffset, duration As TimeSpan)

Paramètres

eventDefinition
EventDefinitionBase

Définition d’événement.

messageGenerator
Func<EventDefinitionBase,EventData,String>

Délégué qui génère un message de journal pour cet événement.

transaction
DbTransaction

L’DbTransactionopérateur

transactionId
Guid

ID de corrélation qui identifie la transaction Entity Framework utilisée.

connectionId
Guid

ID de corrélation qui identifie le DbConnection instance utilisé.

startTime
DateTimeOffset

Heure de début de cet événement.

duration
TimeSpan

Durée de cet événement.

S’applique à

TransactionEndEventData(EventDefinitionBase, Func<EventDefinitionBase, EventData,String>, DbTransaction, DbContext, Guid, Guid, Boolean, DateTimeOffset, TimeSpan)

Source:
TransactionEndEventData.cs
Source:
TransactionEndEventData.cs
Source:
TransactionEndEventData.cs
Source:
TransactionEndEventData.cs
Source:
TransactionEndEventData.cs
Source:
TransactionEndEventData.cs
Source:
TransactionEndEventData.cs

Construit la charge utile d’événement.

public TransactionEndEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, System.Data.Common.DbTransaction transaction, Microsoft.EntityFrameworkCore.DbContext context, Guid transactionId, Guid connectionId, bool async, DateTimeOffset startTime, TimeSpan duration);
public TransactionEndEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, System.Data.Common.DbTransaction transaction, Microsoft.EntityFrameworkCore.DbContext? context, Guid transactionId, Guid connectionId, bool async, DateTimeOffset startTime, TimeSpan duration);
new Microsoft.EntityFrameworkCore.Diagnostics.TransactionEndEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * System.Data.Common.DbTransaction * Microsoft.EntityFrameworkCore.DbContext * Guid * Guid * bool * DateTimeOffset * TimeSpan -> Microsoft.EntityFrameworkCore.Diagnostics.TransactionEndEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), transaction As DbTransaction, context As DbContext, transactionId As Guid, connectionId As Guid, async As Boolean, startTime As DateTimeOffset, duration As TimeSpan)

Paramètres

eventDefinition
EventDefinitionBase

Définition d’événement.

messageGenerator
Func<EventDefinitionBase,EventData,String>

Délégué qui génère un message de journal pour cet événement.

transaction
DbTransaction

L’DbTransactionopérateur

context
DbContext

en DbContext cours d’utilisation, ou null s’il n’est pas connu.

transactionId
Guid

ID de corrélation qui identifie la transaction Entity Framework utilisée.

connectionId
Guid

ID de corrélation qui identifie le DbConnection instance utilisé.

async
Boolean

Indique si la transaction est utilisée de manière asynchrone.

startTime
DateTimeOffset

Heure de début de cet événement.

duration
TimeSpan

Durée de cet événement.

S’applique à