共用方式為


EventTelemetry 類別

定義

用來追蹤事件的遙測類型。

public ref class EventTelemetry sealed : Microsoft::VisualStudio::ApplicationInsights::Channel::ITelemetry, Microsoft::VisualStudio::ApplicationInsights::DataContracts::ISupportProperties
public sealed class EventTelemetry : Microsoft.VisualStudio.ApplicationInsights.Channel.ITelemetry, Microsoft.VisualStudio.ApplicationInsights.DataContracts.ISupportProperties
type EventTelemetry = class
    interface ITelemetry
    interface ISupportProperties
Public NotInheritable Class EventTelemetry
Implements ISupportProperties, ITelemetry
繼承
EventTelemetry
實作

建構函式

EventTelemetry()

初始化 EventTelemetry 類別的新執行個體。

EventTelemetry(String)

使用指定的 EventTelemetry,初始化 name 類別的新執行個體。

屬性

CommonSchemaVersion

取得或設定這個事件的通用架構版本,這個事件用於判斷數據圖形和傳輸端點

Context

取得與目前遙測項目相關聯的內容。

Metrics

取得應用程式定義事件計量的字典。

Name

取得或設定事件的名稱。

Properties

取得應用程式定義屬性名稱和值的字典,並提供此事件的其他資訊。

Sequence

取得或設定值,這個值會定義遙測項目的絕對順序。

Timestamp

取得或設定記錄事件的日期和時間。

明確介面實作

ITelemetry.Sanitize()

根據條件約束來清理屬性。

適用於