TelemetryClient.TrackAvailability TelemetryClient.TrackAvailability TelemetryClient.TrackAvailability Method

Definition

Overloads

TrackAvailability(AvailabilityTelemetry) TrackAvailability(AvailabilityTelemetry) TrackAvailability(AvailabilityTelemetry)

Send information about availability of an application. Create a separate AvailabilityTelemetry instance for each call to TrackAvailability(AvailabilityTelemetry)

TrackAvailability(String, DateTimeOffset, TimeSpan, String, Boolean, String, IDictionary<String,String>, IDictionary<String,Double>) TrackAvailability(String, DateTimeOffset, TimeSpan, String, Boolean, String, IDictionary<String,String>, IDictionary<String,Double>) TrackAvailability(String, DateTimeOffset, TimeSpan, String, Boolean, String, IDictionary<String,String>, IDictionary<String,Double>)

Send information about availability of an application.

TrackAvailability(AvailabilityTelemetry) TrackAvailability(AvailabilityTelemetry) TrackAvailability(AvailabilityTelemetry)

Send information about availability of an application. Create a separate AvailabilityTelemetry instance for each call to TrackAvailability(AvailabilityTelemetry)

public void TrackAvailability (Microsoft.ApplicationInsights.DataContracts.AvailabilityTelemetry telemetry);
member this.TrackAvailability : Microsoft.ApplicationInsights.DataContracts.AvailabilityTelemetry -> unit
Public Sub TrackAvailability (telemetry As AvailabilityTelemetry)

Parameters

Remarks

Learn more

TrackAvailability(String, DateTimeOffset, TimeSpan, String, Boolean, String, IDictionary<String,String>, IDictionary<String,Double>) TrackAvailability(String, DateTimeOffset, TimeSpan, String, Boolean, String, IDictionary<String,String>, IDictionary<String,Double>) TrackAvailability(String, DateTimeOffset, TimeSpan, String, Boolean, String, IDictionary<String,String>, IDictionary<String,Double>)

Send information about availability of an application.

public void TrackAvailability (string name, DateTimeOffset timeStamp, TimeSpan duration, string runLocation, bool success, string message = null, System.Collections.Generic.IDictionary<string,string> properties = null, System.Collections.Generic.IDictionary<string,double> metrics = null);
member this.TrackAvailability : string * DateTimeOffset * TimeSpan * string * bool * string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, double> -> unit
Public Sub TrackAvailability (name As String, timeStamp As DateTimeOffset, duration As TimeSpan, runLocation As String, success As Boolean, Optional message As String = null, Optional properties As IDictionary(Of String, String) = null, Optional metrics As IDictionary(Of String, Double) = null)

Parameters

name
String String String

Availability test name.

timeStamp
DateTimeOffset DateTimeOffset DateTimeOffset

The time when the availability was captured.

duration
TimeSpan TimeSpan TimeSpan

The time taken for the availability test to run.

runLocation
String String String

Name of the location the availability test was run from.

success
Boolean Boolean Boolean

True if the availability test ran successfully.

message
String String String

Error message on availability test run failure.

properties
IDictionary<String,String>

Named string values you can use to classify and search for this availability telemetry.

metrics
IDictionary<String,Double>

Additional values associated with this availability telemetry.

Remarks

Learn more

Applies to