C# Class Microsoft.ApplicationInsights.Extensibility.ApplicationVersionContextInitializer

An ITelemetryInitializer implementation that populates the ComponentContext.Version of an Application Insights ITelemetry.Context
Inheritance: ITelemetryInitializer
Afficher le fichier Open project: fidmor89/SLAB_AppInsights

Méthodes publiques

Méthode Description
ApplicationVersionContextInitializer ( string applicationVersion = null ) : System

Initializes a new instance of the ApplicationVersionContextInitializer class.

Initialize ( ITelemetry telemetry ) : void

Initializes the given Microsoft.ApplicationInsights.Channel.ITelemetry.

Method Details

ApplicationVersionContextInitializer() public méthode

Initializes a new instance of the ApplicationVersionContextInitializer class.
public ApplicationVersionContextInitializer ( string applicationVersion = null ) : System
applicationVersion string The application version. If null, calculated from .
Résultat System

Initialize() public méthode

Initializes the given Microsoft.ApplicationInsights.Channel.ITelemetry.
public Initialize ( ITelemetry telemetry ) : void
telemetry ITelemetry
Résultat void