ITelemetryProducer.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) |
Send a metric value of 1 to the registered telemetry consumers, to be displayed in an aggregated view. |
IncrementMetric(String, Double) |
Send a metric value of |
IncrementMetric(String)
- Source:
- ITelemetryProducer.cs
Send a metric value of 1 to the registered telemetry consumers, to be displayed in an aggregated view.
public void IncrementMetric (string name);
abstract member IncrementMetric : string -> unit
Public Sub IncrementMetric (name As String)
Parameters
- name
- String
Metric name.
Applies to
IncrementMetric(String, Double)
- Source:
- ITelemetryProducer.cs
Send a metric value of value
to the registered telemetry consumers, to be displayed in an aggregated view.
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
Metric name.
- value
- Double
The amount to increment.