Share via


TelemetryConfiguration.Active Property

Definition

Caution

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

Gets the active TelemetryConfiguration instance loaded from the ApplicationInsights.config file. If the configuration file does not exist, the active configuration instance is initialized with minimum defaults needed to send telemetry to 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

Property Value

Attributes

Applies to