<PackageReference Include="Microsoft.ApplicationInsights" Version="3.1.0" />

Microsoft.ApplicationInsights.DataContracts.ExceptionInfo

sealed class ExceptionInfo
Wrapper class for ExceptionData"/> that lets user provide exception data without having the actual Exception object.

Gets a list of ExceptionDetailsInfo to modify as needed.

public string ProblemId { get; set; }

Gets or sets problem id.

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

Gets or sets properties collection.

public SeverityLevel? SeverityLevel { get; set; }

Gets or sets Exception severity level.

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

Constructs the instance of ExceptionInfo.