NullBotTelemetryClient.TrackAvailability Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
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.