C# Class Microsoft.ApplicationInsights.Extensibility.OsVersionContextInitializer

An ITelemetryInitializer implementation that appends the Environment.OSVersion to an Application Insights ITelemetry.Context
Inheritance: ITelemetryInitializer
ファイルを表示 Open project: fidmor89/SLAB_AppInsights

Public Methods

Method Description
Initialize ( ITelemetry telemetry ) : void

Initializes the given Microsoft.ApplicationInsights.Channel.ITelemetry.

OsVersionContextInitializer ( string osVersion = null ) : System

Initializes a new instance of the OsVersionContextInitializer class.

Method Details

Initialize() public method

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

OsVersionContextInitializer() public method

Initializes a new instance of the OsVersionContextInitializer class.
public OsVersionContextInitializer ( string osVersion = null ) : System
osVersion string The OS version. If null, calculated from .
return System