CosmosTransactionalBatchExecutedEventData Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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) |