TelemetryClient.TrackMetric Method (MetricTelemetry)

Namespace: Microsoft.ApplicationInsights
Assembly: Microsoft.ApplicationInsights (in Microsoft.ApplicationInsights.dll)

Usage

'Usage
Dim instance As TelemetryClient
Dim telemetry As MetricTelemetry

instance.TrackMetric(telemetry)

Syntax

'Declaration
Public Sub TrackMetric ( _
    telemetry As MetricTelemetry _
)
public void TrackMetric (
    MetricTelemetry telemetry
)
public:
void TrackMetric (
    MetricTelemetry^ telemetry
)
public void TrackMetric (
    MetricTelemetry telemetry
)
public function TrackMetric (
    telemetry : MetricTelemetry
)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows 8, Windows Server 2012

See Also

Reference

TelemetryClient Class
TelemetryClient Members
Microsoft.ApplicationInsights Namespace