다음을 통해 공유


ExceptionTelemetry Constructors

Definition

Overloads

ExceptionTelemetry()

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

ExceptionTelemetry(Exception)

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

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

Initializes a new instance of the ExceptionTelemetry class.

ExceptionTelemetry()

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

public ExceptionTelemetry ();
Public Sub New ()

Applies to

ExceptionTelemetry(Exception)

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

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

Parameters

exception
Exception

Exception instance.

Applies to

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

Initializes a new instance of the ExceptionTelemetry class.

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))

Parameters

exceptionDetailsInfoList
IEnumerable<ExceptionDetailsInfo>

Exception info.

severityLevel
Nullable<SeverityLevel>

Severity level.

problemId
String

Problem id.

properties
IDictionary<String,String>

Properties.

measurements
IDictionary<String,Double>

Measurements.

Applies to