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 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