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