Udostępnij za pośrednictwem


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, timestamp, duration, responseCode and success property values.

RequestTelemetry()

Initializes a new instance of the RequestTelemetry class.

public:
 RequestTelemetry();
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, timestamp, duration, responseCode and success property values.

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

Parameters

name
String
timestamp
DateTimeOffset
duration
TimeSpan
responseCode
String
success
Boolean

Applies to