TelemetryConfiguration.Active Propriedade

Definição

Cuidado

We do not recommend using TelemetryConfiguration.Active on .NET Core. See https://github.com/microsoft/ApplicationInsights-dotnet/issues/1152 for more details

Obtém a instância ativa TelemetryConfiguration carregada do arquivo ApplicationInsights.config. Se o arquivo de configuração não existir, a instância de configuração ativa será inicializada com padrões mínimos necessários para enviar telemetria ao Application Insights.

[System.Obsolete("We do not recommend using TelemetryConfiguration.Active on .NET Core. See https://github.com/microsoft/ApplicationInsights-dotnet/issues/1152 for more details")]
public static Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration Active { get; }
[<System.Obsolete("We do not recommend using TelemetryConfiguration.Active on .NET Core. See https://github.com/microsoft/ApplicationInsights-dotnet/issues/1152 for more details")>]
static member Active : Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration
Public Shared ReadOnly Property Active As TelemetryConfiguration

Valor da propriedade

Atributos

Aplica-se a