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.ApplicationInsights.Extensibility.TelemetryConfiguration CreateDefault ();
static member CreateDefault : unit -> Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration
Public Shared Function CreateDefault () As TelemetryConfiguration
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET