MetricTelemetry 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
MetricTelemetry() |
Initializes a new instance of the MetricTelemetry class with empty properties. |
MetricTelemetry(String, Double) |
Initializes a new instance of the MetricTelemetry class with the
specified |
MetricTelemetry()
Initializes a new instance of the MetricTelemetry class with empty properties.
public:
MetricTelemetry();
public MetricTelemetry ();
Public Sub New ()
Applies to
MetricTelemetry(String, Double)
Initializes a new instance of the MetricTelemetry class with the
specified metricName
and metricValue
.
public:
MetricTelemetry(System::String ^ metricName, double metricValue);
public MetricTelemetry (string metricName, double metricValue);
new Microsoft.VisualStudio.ApplicationInsights.DataContracts.MetricTelemetry : string * double -> Microsoft.VisualStudio.ApplicationInsights.DataContracts.MetricTelemetry
Public Sub New (metricName As String, metricValue As Double)
Parameters
- metricName
- String
- metricValue
- Double
Exceptions
The metricName
is null or empty string.