RequestTelemetry Constructors
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.
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 |
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