Share via


TelemetrySession.PostMetricEvent(TelemetryMetricEvent) Method

Definition

Prepares the metric event by populating metric properties, then posts the event.

public void PostMetricEvent (Microsoft.VisualStudio.Telemetry.Metrics.Events.TelemetryMetricEvent metricEvent);
member this.PostMetricEvent : Microsoft.VisualStudio.Telemetry.Metrics.Events.TelemetryMetricEvent -> unit
Public Sub PostMetricEvent (metricEvent As TelemetryMetricEvent)

Parameters

metricEvent
TelemetryMetricEvent

A telemetry metric event ready to be posted.

Applies to