Share via


MetricValue Class

Definition

Represents a metric value.

public class MetricValue
type MetricValue = class
Public Class MetricValue
Inheritance
MetricValue

Constructors

MetricValue()

Initializes a new instance of the MetricValue class.

MetricValue(DateTime, Nullable<Double>, Nullable<Double>, Nullable<Double>, Nullable<Double>, Nullable<Double>)

Initializes a new instance of the MetricValue class.

Properties

Average

Gets or sets the average value in the time range.

Count

Gets or sets the number of samples in the time range. Can be used to determine the number of values that contributed to the average value.

Maximum

Gets or sets the greatest value in the time range.

Minimum

Gets or sets the least value in the time range.

TimeStamp

Gets or sets the timestamp for the metric value in ISO 8601 format.

Total

Gets or sets the sum of all of the values in the time range.

Methods

Validate()

Validate the object.

Applies to