TelemetrySession.PostMetricEvent(TelemetryMetricEvent) Method
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.
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.