Udostępnij za pośrednictwem


TelemetryConfiguration.TelemetryInitializers Property

Definition

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.

Applies to