C# Класс Telemetry

Reports anonymous usage through ApplicationInsights
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Initialize ( DTE2 dte, string version, string telemetryKey ) : void

Initializes the telemetry client.

Initialize ( IServiceProvider serviceProvider, string version, string telemetryKey ) : void

Initializes the telemetry client.

TrackEvent ( string key, string>.IDictionary properties = null ) : void

Tracks an event to ApplicationInsights.

TrackException ( Exception ex ) : void

Tracks any exception.

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

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

Initializes the telemetry client.
public static Initialize ( DTE2 dte, string version, string telemetryKey ) : void
dte DTE2
version string
telemetryKey string
Результат void

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

Initializes the telemetry client.
public static Initialize ( IServiceProvider serviceProvider, string version, string telemetryKey ) : void
serviceProvider IServiceProvider
version string
telemetryKey string
Результат void

TrackEvent() публичный статический Метод

Tracks an event to ApplicationInsights.
public static TrackEvent ( string key, string>.IDictionary properties = null ) : void
key string
properties string>.IDictionary
Результат void

TrackException() публичный статический Метод

Tracks any exception.
public static TrackException ( Exception ex ) : void
ex Exception
Результат void