IMetricTelemetryConsumer.IncrementMetric Method
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
IncrementMetric(String) |
Increment a metric value. |
IncrementMetric(String, Double) |
Increment a metric by a given value. |
IncrementMetric(String)
- Source:
- IMetricTelemetryConsumer.cs
Increment a metric value.
public void IncrementMetric (string name);
abstract member IncrementMetric : string -> unit
Public Sub IncrementMetric (name As String)
Parameters
- name
- String
Name of the metric.
Applies to
IncrementMetric(String, Double)
- Source:
- IMetricTelemetryConsumer.cs
Increment a metric by a given value.
public void IncrementMetric (string name, double value);
abstract member IncrementMetric : string * double -> unit
Public Sub IncrementMetric (name As String, value As Double)
Parameters
- name
- String
Name of the metric.
- value
- Double
Value to increment by.