ExceptionTelemetry
Class
Definition
Telemetry type used to track exceptions.
public sealed class ExceptionTelemetry : Microsoft.ApplicationInsights.Channel.ITelemetry, Microsoft.ApplicationInsights.DataContracts.ISupportMetrics, Microsoft.ApplicationInsights.DataContracts.ISupportProperties, Microsoft.ApplicationInsights.DataContracts.ISupportSampling
- 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. |
| Message |
Gets or sets ExceptionTelemetry message. |
| 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. |
| ISupportSampling.SamplingPercentage |
Gets or sets data sampling percentage (between 0 and 100). |
Extension Methods
| IsDefined(Object) | |
| IsNull(Object) | |
| IsPrimitive(Object) |