Delen via


IBotTelemetryClient.TrackAvailability Methode

Definitie

Informatie verzenden over de beschikbaarheid van een toepassing.

public void TrackAvailability(string name, DateTimeOffset timeStamp, TimeSpan duration, string runLocation, bool success, string message = default, System.Collections.Generic.IDictionary<string,string> properties = default, System.Collections.Generic.IDictionary<string,double> metrics = default);
abstract member 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 = Nothing, Optional properties As IDictionary(Of String, String) = Nothing, Optional metrics As IDictionary(Of String, Double) = Nothing)

Parameters

name
String

Naam van beschikbaarheidstest.

timeStamp
DateTimeOffset

Het tijdstip waarop de beschikbaarheid is vastgelegd.

duration
TimeSpan

De tijd die nodig is om de beschikbaarheidstest uit te voeren.

runLocation
String

De naam van de locatie waar de beschikbaarheidstest is uitgevoerd.

success
Boolean

True als de beschikbaarheidstest is uitgevoerd.

message
String

Foutbericht over mislukte uitvoering van beschikbaarheidstest.

properties
IDictionary<String,String>

Benoemde tekenreekswaarden die u kunt gebruiken om deze beschikbaarheidstelemetrie te classificeren en te zoeken.

metrics
IDictionary<String,Double>

Aanvullende waarden die zijn gekoppeld aan deze beschikbaarheidstelemetrie.

Van toepassing op