TelemetryConfiguration.CreateDefault Method

Definition

Creates a new TelemetryConfiguration instance loaded from the ApplicationInsights.config file. If the configuration file does not exist, the new configuration instance is initialized with minimum defaults needed to send telemetry to Application Insights.

public static Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration CreateDefault ();
static member CreateDefault : unit -> Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration
Public Shared Function CreateDefault () As TelemetryConfiguration

Returns

TelemetryConfiguration

Applies to