AvailabilityTelemetry AvailabilityTelemetry AvailabilityTelemetry Class

Definition

Telemetry type used for availability web test results. Contains a time and message and optionally some additional metadata. Learn more

public sealed class AvailabilityTelemetry : Microsoft.ApplicationInsights.Channel.ITelemetry, Microsoft.ApplicationInsights.DataContracts.ISupportMetrics, Microsoft.ApplicationInsights.DataContracts.ISupportProperties
type AvailabilityTelemetry = class
    interface ITelemetry
    interface ISupportProperties
    interface ISupportMetrics
Public NotInheritable Class AvailabilityTelemetry
Implements ISupportMetrics, ISupportProperties, ITelemetry
Inheritance
AvailabilityTelemetryAvailabilityTelemetryAvailabilityTelemetry
Implements

Constructors

AvailabilityTelemetry() AvailabilityTelemetry() AvailabilityTelemetry()

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

AvailabilityTelemetry(String, DateTimeOffset, TimeSpan, String, Boolean, String) AvailabilityTelemetry(String, DateTimeOffset, TimeSpan, String, Boolean, String) AvailabilityTelemetry(String, DateTimeOffset, TimeSpan, String, Boolean, String)

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

Properties

Context Context Context

Gets the context associated with the current telemetry item.

Duration Duration Duration

Gets or sets availability test duration.

Extension Extension Extension

Gets or sets gets the extension used to extend this telemetry instance using new strong typed object.

Id Id Id

Gets or sets the test run id.

Message Message Message

Gets or sets the error message.

Metrics Metrics Metrics

Gets a dictionary of application-defined event metrics. Learn more

Name Name Name

Gets or sets the test name.

Properties Properties Properties

Gets a dictionary of application-defined property names and values providing additional information about this availability test run. Learn more

RunLocation RunLocation RunLocation

Gets or sets location where availability test was run.

Sequence Sequence Sequence

Gets or sets the value that defines absolute order of the telemetry item.

Success Success Success

Gets or sets a value indicating whether the availability test was successful or not.

Timestamp Timestamp Timestamp

Gets or sets date and time when telemetry was recorded.

Methods

DeepClone() DeepClone() DeepClone()

Deeply clones an AvailabilityTelemetry object.

SerializeData(ISerializationWriter) SerializeData(ISerializationWriter) SerializeData(ISerializationWriter)

Explicit Interface Implementations

ITelemetry.Sanitize() ITelemetry.Sanitize() ITelemetry.Sanitize()

Sanitizes the properties based on constraints.

Applies to