共用方式為


AvailabilityTelemetry Constructors

Definition

Overloads

AvailabilityTelemetry()

Initializes a new instance of the AvailabilityTelemetry class with empty properties.

AvailabilityTelemetry(String, DateTimeOffset, TimeSpan, String, Boolean, String)

Initializes a new instance of the AvailabilityTelemetry class with empty properties.

AvailabilityTelemetry()

Initializes a new instance of the AvailabilityTelemetry class with empty properties.

public AvailabilityTelemetry ();
Public Sub New ()

Applies to

AvailabilityTelemetry(String, DateTimeOffset, TimeSpan, String, Boolean, String)

Initializes a new instance of the AvailabilityTelemetry class with empty properties.

public AvailabilityTelemetry (string name, DateTimeOffset timeStamp, TimeSpan duration, string runLocation, bool success, string message = default);
new Microsoft.ApplicationInsights.DataContracts.AvailabilityTelemetry : string * DateTimeOffset * TimeSpan * string * bool * string -> Microsoft.ApplicationInsights.DataContracts.AvailabilityTelemetry
Public Sub New (name As String, timeStamp As DateTimeOffset, duration As TimeSpan, runLocation As String, success As Boolean, Optional message As String = Nothing)

Parameters

name
String
timeStamp
DateTimeOffset
duration
TimeSpan
runLocation
String
success
Boolean
message
String

Applies to