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.