Freigeben über


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::VisualStudio::ApplicationInsights::Extensibility::TelemetryConfiguration ^ CreateDefault();
public static Microsoft.VisualStudio.ApplicationInsights.Extensibility.TelemetryConfiguration CreateDefault ();
static member CreateDefault : unit -> Microsoft.VisualStudio.ApplicationInsights.Extensibility.TelemetryConfiguration
Public Shared Function CreateDefault () As TelemetryConfiguration

Returns

Applies to