Condividi tramite


TelemetryConfiguration.CreateFromConfiguration(String) Method

Definition

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