TelemetryConfiguration.CreateFromConfiguration(String) 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 specified configuration.
public static Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration CreateFromConfiguration (string config);
static member CreateFromConfiguration : string -> Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration
Public Shared Function CreateFromConfiguration (config As String) As TelemetryConfiguration
Parameters
- config
- String
An xml serialized configuration.
Returns
Exceptions
Throws if the config value is null or empty.
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