TelemetryConfiguration.TelemetryInitializers Property

Definition

Gets the list of ITelemetryInitializer objects that supply additional information about telemetry.

public:
 property System::Collections::Generic::IList<Microsoft::VisualStudio::ApplicationInsights::Extensibility::ITelemetryInitializer ^> ^ TelemetryInitializers { System::Collections::Generic::IList<Microsoft::VisualStudio::ApplicationInsights::Extensibility::ITelemetryInitializer ^> ^ get(); };
public System.Collections.Generic.IList<Microsoft.VisualStudio.ApplicationInsights.Extensibility.ITelemetryInitializer> TelemetryInitializers { get; }
member this.TelemetryInitializers : System.Collections.Generic.IList<Microsoft.VisualStudio.ApplicationInsights.Extensibility.ITelemetryInitializer>
Public ReadOnly Property TelemetryInitializers As IList(Of ITelemetryInitializer)

Property Value

Remarks

Telemetry initializers extend Application Insights telemetry collection by supplying additional information about individual ITelemetry items, such as Timestamp. A TelemetryClient invokes telemetry initializers each time Microsoft.VisualStudio.ApplicationInsights.TelemetryClient.Track(Microsoft.VisualStudio.ApplicationInsights.Channel.ITelemetry) method is called. The default list of telemetry initializers is provided by the Application Insights NuGet packages and loaded from the ApplicationInsights.config file located in the application directory.

Applies to