AvailabilityTelemetry Class

Definition

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

public sealed class AvailabilityTelemetry : Microsoft.ApplicationInsights.Channel.ITelemetry, Microsoft.ApplicationInsights.DataContracts.ISupportMetrics, Microsoft.ApplicationInsights.DataContracts.ISupportProperties
Inheritance
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.

Id

Gets or sets the test run id.

Message

Gets or sets the error message.

Metrics

Gets a dictionary of application-defined event metrics.

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.

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.

Explicit Interface Implementations

ITelemetry.Sanitize()

Sanitizes the properties based on constraints.

Extension Methods

IsDefined(Object)
IsNull(Object)
IsPrimitive(Object)