TelemetryMetricProperty Class

Definition

This class represents a data model metric property. The property name will be updated with a suffix ".DataModelMetric" when the event is posted. A metric is a value or aggregated count collected as a measurement of a particular characteristic of the system. E.g., usage metrics like file size, project count, upload size; performance metric like duration.

public ref class TelemetryMetricProperty : Microsoft::VisualStudio::Telemetry::TelemetryDataModelProperty
public class TelemetryMetricProperty : Microsoft.VisualStudio.Telemetry.TelemetryDataModelProperty
type TelemetryMetricProperty = class
    inherit TelemetryDataModelProperty
Public Class TelemetryMetricProperty
Inherits TelemetryDataModelProperty
Inheritance
TelemetryMetricProperty

Constructors

TelemetryMetricProperty(Double)

Creates the Metric Property Object.

Properties

Value

Gets value set for the property

(Inherited from TelemetryDataModelProperty)

Methods

ToString()

ToString to make debugging easier: show in debug watch window

(Inherited from TelemetryDataModelProperty)

Applies to