C# Class Microsoft.ApplicationInsights.Extensibility.ApplicationVersionContextInitializer

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

Public Methods

Method 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 method

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

Initialize() public method

Initializes the given Microsoft.ApplicationInsights.Channel.ITelemetry.
public Initialize ( ITelemetry telemetry ) : void
telemetry ITelemetry
return void