Taal

NullBotTelemetryClient.TrackAvailability Methode

Definitie

Stuur informatie over de beschikbaarheid van een applicatie.

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
override 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 = 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

De tijd waarin de beschikbaarheid werd vastgelegd.

duration
TimeSpan

De tijd die nodig is om de beschikbaarheidstest te laten uitvoeren.

runLocation
String

Naam van de locatie waar de beschikbaarheidstest is uitgevoerd.

success
Boolean

Dat klopt als de beschikbaarheidstest succesvol is uitgevoerd.

message
String

Foutmelding bij het mislukken van de beschikbaarheid van de testrun.

properties
IDictionary<String,String>

Benoemde stringwaarden kun je gebruiken om deze beschikbaarheidstelemetrie te classificeren en te zoeken.

metrics
IDictionary<String,Double>

Extra waarden die geassocieerd zijn met deze beschikbaarheidstelemetrie.

Implementeringen

Van toepassing op