<PackageReference Include="Microsoft.ApplicationInsights" Version="3.0.0-rc1" />

Microsoft.ApplicationInsights.DataContracts.AvailabilityTelemetry

Telemetry type used for availability web test results. Contains a time and message and optionally some additional metadata. Learn more
public TelemetryContext Context { get; }

Gets the context associated with the current telemetry item.

public TimeSpan Duration { get; set; }

Gets or sets availability test duration.

public string Id { get; set; }

Gets or sets the test run id.

public string Message { get; set; }

Gets or sets the error message.

public string Name { get; set; }

Gets or sets the test name.

public IDictionary<string, string> Properties { get; }

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

public string RunLocation { get; set; }

Gets or sets location where availability test was run.

public string Sequence { get; set; }

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

public bool Success { get; set; }

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

public DateTimeOffset Timestamp { get; set; }

Gets or sets date and time when telemetry was recorded.

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

public AvailabilityTelemetry(string name, DateTimeOffset timeStamp, TimeSpan duration, string runLocation, bool success, string message = null)

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