NullBotTelemetryClient.TrackAvailability Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Send information about availability of an application.
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
Availability test name.
- timeStamp
- DateTimeOffset
The time when the availability was captured.
- duration
- TimeSpan
The time taken for the availability test to run.
- runLocation
- String
Name of the location the availability test was run from.
- success
- Boolean
True if the availability test ran successfully.
- message
- 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.