Dela via


RequestTelemetry Constructors

Definition

Overloads

RequestTelemetry()

Initializes a new instance of the RequestTelemetry class.

RequestTelemetry(String, DateTimeOffset, TimeSpan, String, Boolean)

Initializes a new instance of the RequestTelemetry class with the given name, startTime, duration, responseCode and success property values.

RequestTelemetry()

Initializes a new instance of the RequestTelemetry class.

public RequestTelemetry ();
Public Sub New ()

Applies to

RequestTelemetry(String, DateTimeOffset, TimeSpan, String, Boolean)

Initializes a new instance of the RequestTelemetry class with the given name, startTime, duration, responseCode and success property values.

public RequestTelemetry (string name, DateTimeOffset startTime, TimeSpan duration, string responseCode, bool success);
new Microsoft.ApplicationInsights.DataContracts.RequestTelemetry : string * DateTimeOffset * TimeSpan * string * bool -> Microsoft.ApplicationInsights.DataContracts.RequestTelemetry
Public Sub New (name As String, startTime As DateTimeOffset, duration As TimeSpan, responseCode As String, success As Boolean)

Parameters

name
String
startTime
DateTimeOffset
duration
TimeSpan
responseCode
String
success
Boolean

Applies to