TelemetryConfiguration.TelemetryInitializers Property
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.
Gets the list of ITelemetryInitializer objects that supply additional information about telemetry.
public System.Collections.Generic.IList<Microsoft.ApplicationInsights.Extensibility.ITelemetryInitializer> TelemetryInitializers { get; }
member this.TelemetryInitializers : System.Collections.Generic.IList<Microsoft.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.ApplicationInsights.TelemetryClient.Track(Microsoft.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.