你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ExceptionTelemetry 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ExceptionTelemetry()
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>
测量。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈