TelemetryConfiguration.CreateDefault Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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