C# Класс Microsoft.ApplicationInsights.Extensibility.OsVersionContextInitializer

An ITelemetryInitializer implementation that appends the Environment.OSVersion to an Application Insights ITelemetry.Context
Наследование: ITelemetryInitializer
Показать файл Открыть проект

Открытые методы

Метод Описание
Initialize ( ITelemetry telemetry ) : void

Initializes the given Microsoft.ApplicationInsights.Channel.ITelemetry.

OsVersionContextInitializer ( string osVersion = null ) : System

Initializes a new instance of the OsVersionContextInitializer class.

Описание методов

Initialize() публичный Метод

Initializes the given Microsoft.ApplicationInsights.Channel.ITelemetry.
public Initialize ( ITelemetry telemetry ) : void
telemetry ITelemetry
Результат void

OsVersionContextInitializer() публичный Метод

Initializes a new instance of the OsVersionContextInitializer class.
public OsVersionContextInitializer ( string osVersion = null ) : System
osVersion string The OS version. If null, calculated from .
Результат System