Edit

Share via


ITelemetryProducer.DecrementMetric Method

Definition

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 -value to the registered telemetry consumers, to be displayed in an aggregated view.

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.

Applies to