AITelemetryConsumer.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) |
Decrement a metric value. |
DecrementMetric(String, Double) |
Decrement a metric by a given value. |
DecrementMetric(String)
- Source:
- AITelemetryConsumer.cs
Decrement a metric value.
public void DecrementMetric (string name);
public virtual void DecrementMetric (string name);
abstract member DecrementMetric : string -> unit
override this.DecrementMetric : string -> unit
Public Sub DecrementMetric (name As String)
Public Overridable Sub DecrementMetric (name As String)
Parameters
- name
- String
Name of the metric.
Implements
Applies to
DecrementMetric(String, Double)
- Source:
- AITelemetryConsumer.cs
Decrement a metric by a given value.
public void DecrementMetric (string name, double value);
public virtual void DecrementMetric (string name, double value);
abstract member DecrementMetric : string * double -> unit
override this.DecrementMetric : string * double -> unit
Public Sub DecrementMetric (name As String, value As Double)
Public Overridable Sub DecrementMetric (name As String, value As Double)
Parameters
- name
- String
Name of the metric.
- value
- Double
Value to decrement by.