你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

TelemetryConfigurationExtensions.GetMetricManager Method

Definition

TelemetryConfiguration.GetMetricManager(..) is a internal method to avoid puluting the public surface. You can use the namespace Microsoft.ApplicationInsights.Extensibility to get access to the MetricManager via this extension method.

public static Microsoft.ApplicationInsights.Metrics.MetricManager GetMetricManager(this Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration telemetryPipeline);
static member GetMetricManager : Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration -> Microsoft.ApplicationInsights.Metrics.MetricManager
<Extension()>
Public Function GetMetricManager (telemetryPipeline As TelemetryConfiguration) As MetricManager

Parameters

telemetryPipeline
TelemetryConfiguration

A TelemetryConfiguration.

Returns

The MetricManager instscne assiciated with the specified telemetry pipeline.

Applies to