<PackageReference Include="Microsoft.ApplicationInsights" Version="3.0.0-beta2" />

Microsoft.ApplicationInsights.DataContracts.ExceptionTelemetry

Telemetry type used to track exceptions. This will capture TypeName, Message, and CallStack. Learn more
public TelemetryContext Context { get; }

Gets the context associated with the current telemetry item.

public Exception Exception { get; set; }

Gets or sets the original exception tracked by this ITelemetry.

Gets the list of ExceptionDetailsInfo. User can modify the contents of individual object, but not the list itself.

public string Message { get; set; }

Gets or sets ExceptionTelemetry message.

public string ProblemId { get; set; }

Gets or sets the problemId.

public IDictionary<string, string> Properties { get; }

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

public SeverityLevel? SeverityLevel { get; set; }

Gets or sets Exception severity level.

public DateTimeOffset Timestamp { get; set; }

Gets or sets date and time when telemetry was recorded.

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

public ExceptionTelemetry(Exception exception)

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

public ExceptionTelemetry(IEnumerable<ExceptionDetailsInfo> exceptionDetailsInfoList, SeverityLevel? severityLevel, string problemId, IDictionary<string, string> properties)

Initializes a new instance of the ExceptionTelemetry class.

public void SetParsedStack(StackFrame[] frames)

Set parsedStack from an array of StackFrame objects.