語言

CosmosItemCommandExecutedEventData 類別

定義

Cosmos 項目指令的 DiagnosticSource 事件有效載荷類別執行事件。

[System.Runtime.CompilerServices.Nullable(0)]
public class CosmosItemCommandExecutedEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventData
public class CosmosItemCommandExecutedEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventData
[<System.Runtime.CompilerServices.Nullable(0)>]
type CosmosItemCommandExecutedEventData = class
    inherit EventData
type CosmosItemCommandExecutedEventData = class
    inherit EventData
Public Class CosmosItemCommandExecutedEventData
Inherits EventData
繼承
CosmosItemCommandExecutedEventData
屬性

備註

更多資訊與範例請參閱 日誌、事件與診斷 。

建構函式

名稱 Description
CosmosItemCommandExecutedEventData(EventDefinitionBase, Func<EventDefinitionBase, EventData,String>, TimeSpan, Double, String, String, String, PartitionKey, Boolean)

負責建構事件有效載荷。

CosmosItemCommandExecutedEventData(EventDefinitionBase, Func<EventDefinitionBase, EventData,String>, TimeSpan, Double, String, String, String, String, Boolean)

負責建構事件有效載荷。

屬性

名稱 Description
ActivityId

活動標識碼。

ContainerId

被查詢的 Cosmos 貨櫃的 ID。

Elapsed

指令發送到資料庫後的時間已過。

EventId

那 EventId 就是訊息的 ID 和名稱。

(繼承來源 EventData)
EventIdCode

一個字串代表該事件定義的程式碼。

(繼承來源 EventData)
LogLevel

LogLevel那個會用來記錄這個事件的訊息。

(繼承來源 EventData)
LogSensitiveData

指示應用程式是否允許記錄敏感資料。

PartitionKey

查詢所使用的 Cosmos 分割的鍵。

PartitionKeyValue

查詢所使用的 Cosmos 分割的鍵。

RequestCharge

RU的請求收費。

ResourceId

被讀取的資源的 ID。

方法

名稱 Description
ToString()

一段記錄訊息描述此事件。

(繼承來源 EventData)

適用於