Microsoft.ApplicationInsights.DataContracts.ExceptionTelemetry
Telemetry type used to track exceptions. This will capture TypeName, Message, and CallStack.
Learn more
namespace Microsoft.ApplicationInsights.DataContracts
{
public sealed class ExceptionTelemetry : ITelemetry, ISupportProperties
{
public DateTimeOffset Timestamp { get; set; }
public TelemetryContext Context { get; }
public string ProblemId { get; set; }
public Exception Exception { get; set; }
public string Message { get; set; }
public IReadOnlyList<ExceptionDetailsInfo> ExceptionDetailsInfoList { get; }
public IDictionary<string, string> Properties { get; }
public SeverityLevel? SeverityLevel { get; set; }
public ExceptionTelemetry();
public ExceptionTelemetry(Exception exception);
public ExceptionTelemetry(IEnumerable<ExceptionDetailsInfo> exceptionDetailsInfoList, SeverityLevel? severityLevel, string problemId, IDictionary<string, string> properties);
public void SetParsedStack(System.Diagnostics.StackFrame[] frames);
}
}