你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ExceptionTelemetry 构造函数

定义

重载

ExceptionTelemetry()

使用空属性初始化 类的新实例 ExceptionTelemetry

ExceptionTelemetry(Exception)

使用空属性初始化 类的新实例 ExceptionTelemetry

ExceptionTelemetry(IEnumerable<ExceptionDetailsInfo>, Nullable<SeverityLevel>, String, IDictionary<String,String>, IDictionary<String,Double>)

初始化 ExceptionTelemetry 类的新实例。

ExceptionTelemetry()

使用空属性初始化 类的新实例 ExceptionTelemetry

public ExceptionTelemetry ();
Public Sub New ()

适用于

ExceptionTelemetry(Exception)

使用空属性初始化 类的新实例 ExceptionTelemetry

public ExceptionTelemetry (Exception exception);
new Microsoft.ApplicationInsights.DataContracts.ExceptionTelemetry : Exception -> Microsoft.ApplicationInsights.DataContracts.ExceptionTelemetry
Public Sub New (exception As Exception)

参数

exception
Exception

异常实例。

适用于

ExceptionTelemetry(IEnumerable<ExceptionDetailsInfo>, Nullable<SeverityLevel>, String, IDictionary<String,String>, IDictionary<String,Double>)

初始化 ExceptionTelemetry 类的新实例。

public ExceptionTelemetry (System.Collections.Generic.IEnumerable<Microsoft.ApplicationInsights.DataContracts.ExceptionDetailsInfo> exceptionDetailsInfoList, Microsoft.ApplicationInsights.DataContracts.SeverityLevel? severityLevel, string problemId, System.Collections.Generic.IDictionary<string,string> properties, System.Collections.Generic.IDictionary<string,double> measurements);
new Microsoft.ApplicationInsights.DataContracts.ExceptionTelemetry : seq<Microsoft.ApplicationInsights.DataContracts.ExceptionDetailsInfo> * Nullable<Microsoft.ApplicationInsights.DataContracts.SeverityLevel> * string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, double> -> Microsoft.ApplicationInsights.DataContracts.ExceptionTelemetry
Public Sub New (exceptionDetailsInfoList As IEnumerable(Of ExceptionDetailsInfo), severityLevel As Nullable(Of SeverityLevel), problemId As String, properties As IDictionary(Of String, String), measurements As IDictionary(Of String, Double))

参数

exceptionDetailsInfoList
IEnumerable<ExceptionDetailsInfo>

异常信息。

severityLevel
Nullable<SeverityLevel>

严重性级别。

problemId
String

问题 ID。

properties
IDictionary<String,String>

属性。

measurements
IDictionary<String,Double>

测量。

适用于