ExceptionTelemetry Class

Definition

Telemetry type used to track exceptions.

public ref class ExceptionTelemetry sealed : Microsoft::VisualStudio::ApplicationInsights::Channel::ITelemetry, Microsoft::VisualStudio::ApplicationInsights::DataContracts::ISupportProperties
public sealed class ExceptionTelemetry : Microsoft.VisualStudio.ApplicationInsights.Channel.ITelemetry, Microsoft.VisualStudio.ApplicationInsights.DataContracts.ISupportProperties
type ExceptionTelemetry = class
    interface ITelemetry
    interface ISupportProperties
Public NotInheritable Class ExceptionTelemetry
Implements ISupportProperties, ITelemetry
Inheritance
ExceptionTelemetry
Implements

Constructors

ExceptionTelemetry()

Initializes a new instance of the ExceptionTelemetry class with empty properties.

ExceptionTelemetry(Exception)

Initializes a new instance of the ExceptionTelemetry class with empty properties.

Properties

Context

Gets the context associated with the current telemetry item.

Exception

Gets or sets the original exception tracked by this ITelemetry.

HandledAt

Gets or sets the value indicated where the exception was handled.

Metrics

Gets a dictionary of application-defined exception metrics.

Properties

Gets a dictionary of application-defined property names and values providing additional information about this exception.

Sequence

Gets or sets the value that defines absolute order of the telemetry item.

SeverityLevel

Gets or sets Exception severity level.

Timestamp

Gets or sets date and time when telemetry was recorded.

Explicit Interface Implementations

ITelemetry.Sanitize()

Sanitizes the properties based on constraints.

Applies to