Compartir a través de


TelemetryConfiguration.Active Propiedad

Definición

Precaución

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

Obtiene la instancia activa TelemetryConfiguration cargada desde el archivo ApplicationInsights.config. Si el archivo de configuración no existe, la instancia de configuración activa se inicializa con los valores predeterminados mínimos necesarios para enviar telemetría a 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 de propiedad

Atributos

Se aplica a