Idioma

CosmosTransactionalBatchExecutedEventData Class

Definition

A DiagnosticSource event payload class for Cosmos transactional batch executed events.

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

Remarks

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

Constructors

Name Description
CosmosTransactionalBatchExecutedEventData(EventDefinitionBase, Func<EventDefinitionBase,EventData,String>, TimeSpan, Double, String, String, PartitionKey, String, Boolean)

Constructs the event payload.

Properties

Name Description
ActivityId

The activity ID.

ContainerId

The ID of the Cosmos container being queried.

DocumentIds

The ids of the documents that were written to in the transactional batch.

Elapsed

The time elapsed since the command was sent to the database.

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

Indicates whether the application allows logging of sensitive data.

PartitionKeyValue

The key of the Cosmos partition that the query is using.

RequestCharge

The request charge in RU.

Methods

Name Description
ToString()

A logger message describing this event.

(Inherited from EventData)

Applies to