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