C# Class Microsoft.ApplicationInsights.WindowsServer.UnhandledExceptionTelemetryModule

The module subscribed to AppDomain.CurrentDomain.UnhandledException to send exceptions to ApplicationInsights.
Inheritance: ITelemetryModule, IDisposable
Exibir arquivo Open project: Microsoft/ApplicationInsights-dotnet-server Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Disposing UnhandledExceptionTelemetryModule instance.

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

Initializes the telemetry module.

UnhandledExceptionTelemetryModule ( ) : System

Initializes a new instance of the UnhandledExceptionTelemetryModule class.

Private Methods

Method Description
CopyConfiguration ( Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration source, Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration target ) : void
CurrentDomainOnUnhandledException ( object sender, UnhandledExceptionEventArgs unhandledExceptionEventArgs ) : void
GetTelemetryClient ( Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration sourceConfiguration ) : TelemetryClient
UnhandledExceptionTelemetryModule ( Action registerAction, Action unregisterAction, ITelemetryChannel channel ) : System

Method Details

Dispose() public method

Disposing UnhandledExceptionTelemetryModule instance.
public Dispose ( ) : void
return void

Initialize() public method

Initializes the telemetry module.
public Initialize ( Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration configuration ) : void
configuration Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration
return void

UnhandledExceptionTelemetryModule() public method

Initializes a new instance of the UnhandledExceptionTelemetryModule class.
public UnhandledExceptionTelemetryModule ( ) : System
return System