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
System.Object
AvailabilityTelemetry
Implements

Constructors

AvailabilityTelemetry()

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

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

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

Properties

Context

Gets the context associated with the current telemetry item.

Duration

Gets or sets availability test duration.

Extension

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

Id

Gets or sets the test run id.

Message

Gets or sets the error message.

Metrics

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

Name

Gets or sets the test name.

Properties

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

RunLocation

Gets or sets location where availability test was run.

Sequence

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

Success

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

Timestamp

Gets or sets date and time when telemetry was recorded.

Methods

DeepClone()

Deeply clones an AvailabilityTelemetry object.

SerializeData(ISerializationWriter)

Writes serialization info about the data class of the implementing type using the given ISerializationWriter.

Explicit Interface Implementations

ITelemetry.Sanitize()

Sanitizes the properties based on constraints.

Extension Methods

GetEnvelopeName(ITelemetry)

Gets envelope name for ITelemetry object.

TrySetEnvelopeName(ITelemetry, String)

Sets envelope name for ITelemetry object.

Applies to