ExceptionTelemetry クラス

定義

例外の追跡に使用されるテレメトリの種類。 これにより、TypeName、Message、CallStack がキャプチャされます。 詳細情報

public sealed class ExceptionTelemetry : Microsoft.ApplicationInsights.Channel.ITelemetry, Microsoft.ApplicationInsights.DataContracts.ISupportAdvancedSampling, Microsoft.ApplicationInsights.DataContracts.ISupportMetrics, Microsoft.ApplicationInsights.DataContracts.ISupportProperties
type ExceptionTelemetry = class
    interface ITelemetry
    interface ISupportProperties
    interface ISupportAdvancedSampling
    interface ISupportSampling
    interface ISupportMetrics
Public NotInheritable Class ExceptionTelemetry
Implements ISupportAdvancedSampling, ISupportMetrics, ISupportProperties, ITelemetry
継承
ExceptionTelemetry
実装

注釈

例外の詳細を手動で追跡する必要があります。

コンストラクター

ExceptionTelemetry()

空のプロパティを使用して、 ExceptionTelemetry クラスの新しいインスタンスを初期化します。

ExceptionTelemetry(Exception)

空のプロパティを使用して、 ExceptionTelemetry クラスの新しいインスタンスを初期化します。

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

ExceptionTelemetry クラスの新しいインスタンスを初期化します。

プロパティ

Context

現在のテレメトリ項目に関連付けられているコンテキストを取得します。

Exception

この ITelemetryによって追跡される元の例外を取得または設定します。

ExceptionDetailsInfoList

の一覧を ExceptionDetailsInfo取得します。 ユーザーは個々のオブジェクトの内容を変更できますが、リスト自体は変更できません。

Extension

取得または設定は、新しい厳密な型指定されたオブジェクトを使用してこのテレメトリ インスタンスを拡張するために使用される拡張機能を取得します。

HandledAt
古い.

例外が処理された場所を示す値を取得または設定します。

ItemTypeFlag

サンプリング評価の項目の種類を取得します。

Message

ExceptionTelemetry メッセージを取得または設定します。

Metrics

アプリケーション定義の例外メトリックのディクショナリを取得します。 詳細情報

ProactiveSamplingDecision

項目サンプリングの決定が積極的に行われたかどうか、およびこの決定の結果を示す値を取得または設定します。

ProblemId

problemId を取得または設定します。

Properties

この例外に関する追加情報を提供する、アプリケーション定義のプロパティ名と値のディクショナリを取得します。 詳細情報

Sequence

テレメトリ項目の絶対順序を定義する値を取得または設定します。

SeverityLevel

例外の重大度レベルを取得または設定します。

Timestamp

テレメトリが記録された日時を取得または設定します。

メソッド

DeepClone()

オブジェクトを深く複製します ExceptionTelemetry

SerializeData(ISerializationWriter)

指定 ISerializationWriterした を使用して、実装型のデータ クラスに関するシリアル化情報を書き込みます。

SetParsedStack(StackFrame[])

StackFrame オブジェクトの配列から parsedStack を設定します。

明示的なインターフェイスの実装

ISupportSampling.SamplingPercentage

データ サンプリングの割合 (0 ~ 100) を取得または設定します。 n は整数である 100/n にする必要があります。 詳細情報

ITelemetry.Sanitize()

制約に基づいてプロパティをサニタイズします。

拡張メソッド

GetEnvelopeName(ITelemetry)

ITelemetry オブジェクトのエンベロープ名を取得します。

TrySetEnvelopeName(ITelemetry, String)

ITelemetry オブジェクトの封筒名を設定します。

適用対象