C# Класс Microsoft.ApplicationInsights.WindowsServer.FirstChanceExceptionStatisticsTelemetryModule

The module subscribed to AppDomain.CurrentDomain.FirstChanceException to send exceptions statistics to ApplicationInsights.
Наследование: ITelemetryModule, IDisposable
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Dispose ( ) : void

Disposing TaskSchedulerOnUnobservedTaskException instance. This class doesn't have the finalize method as we expect it live for a duration of the process and be disposed by AI infrastructure.

FirstChanceExceptionStatisticsTelemetryModule ( ) : System

Initializes a new instance of the FirstChanceExceptionStatisticsTelemetryModule class.

Initialize ( Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration configuration ) : void

Initializes the telemetry module.

Приватные методы

Метод Описание
CalculateStatistics ( object sender, System.Runtime.ExceptionServices.FirstChanceExceptionEventArgs firstChanceExceptionArgs ) : void
Dispose ( bool disposing ) : void

IDisposable implementation.

FirstChanceExceptionStatisticsTelemetryModule ( Action registerAction, Action unregisterAction ) : System
GetDimCappedString ( string value, ConcurrentBag capValues ) : string
TrackStatistics ( string type, string operation, string method ) : void

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

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

Disposing TaskSchedulerOnUnobservedTaskException instance. This class doesn't have the finalize method as we expect it live for a duration of the process and be disposed by AI infrastructure.
public Dispose ( ) : void
Результат void

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

Initializes a new instance of the FirstChanceExceptionStatisticsTelemetryModule class.
public FirstChanceExceptionStatisticsTelemetryModule ( ) : System
Результат System

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

Initializes the telemetry module.
public Initialize ( Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration configuration ) : void
configuration Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration Telemetry Configuration used for creating TelemetryClient for sending exception statistics to Application Insights.
Результат void