Sdílet prostřednictvím


Metric.TrackValue Method

Definition

Overloads

TrackValue(Object, String, String, String, String, String, String, String, String, String, String)

Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period. This overload may only be used with 10-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.

TrackValue(Double, String, String, String, String, String, String, String, String, String, String)

Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period. This overload may only be used with 10-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.

TrackValue(Object, String, String, String, String, String, String, String, String, String)

Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period. This overload may only be used with 9-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.

TrackValue(Double, String, String, String, String, String, String, String, String, String)

Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period. This overload may only be used with 9-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.

TrackValue(Object, String, String, String, String, String, String, String, String)

Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period. This overload may only be used with 8-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.

TrackValue(Double, String, String, String, String, String, String, String, String)

Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period. This overload may only be used with 8-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.

TrackValue(Object, String, String, String, String, String, String, String)

Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period. This overload may only be used with 7-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.

TrackValue(Object, String, String, String, String, String, String)

Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period. This overload may only be used with 6-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.

TrackValue(Double, String, String, String, String, String, String)

Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period. This overload may only be used with 6-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.

TrackValue(Object, String, String, String, String, String)

Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period. This overload may only be used with 5-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.

TrackValue(Double, String, String, String, String, String, String, String)

Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period. This overload may only be used with 7-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.

TrackValue(Object, String, String, String, String)

Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period. This overload may only be used with 4-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.

TrackValue(Double, String, String, String, String)

Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period. This overload may only be used with 4-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.

TrackValue(Object, String, String, String)

Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period. This overload may only be used with 3-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.

TrackValue(Double, String, String, String)

Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period. This overload may only be used with 3-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.

TrackValue(Object, String, String)

Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period. This overload may only be used with 2-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.

TrackValue(Double, String, String)

Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period. This overload may only be used with 2-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.

TrackValue(Object, String)

Tracks the specified value using the MetricSeries associated with the specified dimension value.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period. This overload may only be used with 1-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.

TrackValue(Double, String)

Tracks the specified value using the MetricSeries associated with the specified dimension value.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period. This overload may only be used with 1-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.

TrackValue(Object)

Tracks the specified value.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period.
This method uses the zero-dimensional MetricSeries associated with this metric. Use TrackValue(..) to track values into MetricSeries associated with specific dimension-values in multi-dimensional metrics.

TrackValue(Double)

Tracks the specified value.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period.
This method uses the zero-dimensional MetricSeries associated with this metric. Use TrackValue(..) to track values into MetricSeries associated with specific dimension-values in multi-dimensional metrics.

TrackValue(Double, String, String, String, String, String)

Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period. This overload may only be used with 5-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.

TrackValue(Object, String, String, String, String, String, String, String, String, String, String)

Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period. This overload may only be used with 10-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.

public bool TrackValue (object metricValue, string dimension1Value, string dimension2Value, string dimension3Value, string dimension4Value, string dimension5Value, string dimension6Value, string dimension7Value, string dimension8Value, string dimension9Value, string dimension10Value);
member this.TrackValue : obj * string * string * string * string * string * string * string * string * string * string -> bool
Public Function TrackValue (metricValue As Object, dimension1Value As String, dimension2Value As String, dimension3Value As String, dimension4Value As String, dimension5Value As String, dimension6Value As String, dimension7Value As String, dimension8Value As String, dimension9Value As String, dimension10Value As String) As Boolean

Parameters

metricValue
Object

The value to be aggregated.

dimension1Value
String

The value of the 1st dimension.

dimension2Value
String

The value of the 2nd dimension.

dimension3Value
String

The value of the 3rd dimension.

dimension4Value
String

The value of the 4th dimension.

dimension5Value
String

The value of the 5th dimension.

dimension6Value
String

The value of the 6th dimension.

dimension7Value
String

The value of the 7th dimension.

dimension8Value
String

The value of the 8th dimension.

dimension9Value
String

The value of the 9th dimension.

dimension10Value
String

The value of the 10th dimension.

Returns

True if the specified value was added to the MetricSeries indicated by the specified dimension name; False if the indicated series could not be created because a dimension cap or a metric series cap was reached.

Exceptions

If the number of specified dimension names does not match the dimensionality of this Metric.

Applies to

TrackValue(Double, String, String, String, String, String, String, String, String, String, String)

Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period. This overload may only be used with 10-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.

public bool TrackValue (double metricValue, string dimension1Value, string dimension2Value, string dimension3Value, string dimension4Value, string dimension5Value, string dimension6Value, string dimension7Value, string dimension8Value, string dimension9Value, string dimension10Value);
member this.TrackValue : double * string * string * string * string * string * string * string * string * string * string -> bool
Public Function TrackValue (metricValue As Double, dimension1Value As String, dimension2Value As String, dimension3Value As String, dimension4Value As String, dimension5Value As String, dimension6Value As String, dimension7Value As String, dimension8Value As String, dimension9Value As String, dimension10Value As String) As Boolean

Parameters

metricValue
Double

The value to be aggregated.

dimension1Value
String

The value of the 1st dimension.

dimension2Value
String

The value of the 2nd dimension.

dimension3Value
String

The value of the 3rd dimension.

dimension4Value
String

The value of the 4th dimension.

dimension5Value
String

The value of the 5th dimension.

dimension6Value
String

The value of the 6th dimension.

dimension7Value
String

The value of the 7th dimension.

dimension8Value
String

The value of the 8th dimension.

dimension9Value
String

The value of the 9th dimension.

dimension10Value
String

The value of the 10th dimension.

Returns

True if the specified value was added to the MetricSeries indicated by the specified dimension name; False if the indicated series could not be created because a dimension cap or a metric series cap was reached.

Exceptions

If the number of specified dimension names does not match the dimensionality of this Metric.

Applies to

TrackValue(Object, String, String, String, String, String, String, String, String, String)

Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period. This overload may only be used with 9-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.

public bool TrackValue (object metricValue, string dimension1Value, string dimension2Value, string dimension3Value, string dimension4Value, string dimension5Value, string dimension6Value, string dimension7Value, string dimension8Value, string dimension9Value);
member this.TrackValue : obj * string * string * string * string * string * string * string * string * string -> bool
Public Function TrackValue (metricValue As Object, dimension1Value As String, dimension2Value As String, dimension3Value As String, dimension4Value As String, dimension5Value As String, dimension6Value As String, dimension7Value As String, dimension8Value As String, dimension9Value As String) As Boolean

Parameters

metricValue
Object

The value to be aggregated.

dimension1Value
String

The value of the 1st dimension.

dimension2Value
String

The value of the 2nd dimension.

dimension3Value
String

The value of the 3rd dimension.

dimension4Value
String

The value of the 4th dimension.

dimension5Value
String

The value of the 5th dimension.

dimension6Value
String

The value of the 6th dimension.

dimension7Value
String

The value of the 7th dimension.

dimension8Value
String

The value of the 8th dimension.

dimension9Value
String

The value of the 9th dimension.

Returns

True if the specified value was added to the MetricSeries indicated by the specified dimension name; False if the indicated series could not be created because a dimension cap or a metric series cap was reached.

Exceptions

If the number of specified dimension names does not match the dimensionality of this Metric.

Applies to

TrackValue(Double, String, String, String, String, String, String, String, String, String)

Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period. This overload may only be used with 9-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.

public bool TrackValue (double metricValue, string dimension1Value, string dimension2Value, string dimension3Value, string dimension4Value, string dimension5Value, string dimension6Value, string dimension7Value, string dimension8Value, string dimension9Value);
member this.TrackValue : double * string * string * string * string * string * string * string * string * string -> bool
Public Function TrackValue (metricValue As Double, dimension1Value As String, dimension2Value As String, dimension3Value As String, dimension4Value As String, dimension5Value As String, dimension6Value As String, dimension7Value As String, dimension8Value As String, dimension9Value As String) As Boolean

Parameters

metricValue
Double

The value to be aggregated.

dimension1Value
String

The value of the 1st dimension.

dimension2Value
String

The value of the 2nd dimension.

dimension3Value
String

The value of the 3rd dimension.

dimension4Value
String

The value of the 4th dimension.

dimension5Value
String

The value of the 5th dimension.

dimension6Value
String

The value of the 6th dimension.

dimension7Value
String

The value of the 7th dimension.

dimension8Value
String

The value of the 8th dimension.

dimension9Value
String

The value of the 9th dimension.

Returns

True if the specified value was added to the MetricSeries indicated by the specified dimension name; False if the indicated series could not be created because a dimension cap or a metric series cap was reached.

Exceptions

If the number of specified dimension names does not match the dimensionality of this Metric.

Applies to

TrackValue(Object, String, String, String, String, String, String, String, String)

Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period. This overload may only be used with 8-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.

public bool TrackValue (object metricValue, string dimension1Value, string dimension2Value, string dimension3Value, string dimension4Value, string dimension5Value, string dimension6Value, string dimension7Value, string dimension8Value);
member this.TrackValue : obj * string * string * string * string * string * string * string * string -> bool
Public Function TrackValue (metricValue As Object, dimension1Value As String, dimension2Value As String, dimension3Value As String, dimension4Value As String, dimension5Value As String, dimension6Value As String, dimension7Value As String, dimension8Value As String) As Boolean

Parameters

metricValue
Object

The value to be aggregated.

dimension1Value
String

The value of the 1st dimension.

dimension2Value
String

The value of the 2nd dimension.

dimension3Value
String

The value of the 3rd dimension.

dimension4Value
String

The value of the 4th dimension.

dimension5Value
String

The value of the 5th dimension.

dimension6Value
String

The value of the 6th dimension.

dimension7Value
String

The value of the 7th dimension.

dimension8Value
String

The value of the 8th dimension.

Returns

True if the specified value was added to the MetricSeries indicated by the specified dimension name; False if the indicated series could not be created because a dimension cap or a metric series cap was reached.

Exceptions

If the number of specified dimension names does not match the dimensionality of this Metric.

Applies to

TrackValue(Double, String, String, String, String, String, String, String, String)

Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period. This overload may only be used with 8-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.

public bool TrackValue (double metricValue, string dimension1Value, string dimension2Value, string dimension3Value, string dimension4Value, string dimension5Value, string dimension6Value, string dimension7Value, string dimension8Value);
member this.TrackValue : double * string * string * string * string * string * string * string * string -> bool
Public Function TrackValue (metricValue As Double, dimension1Value As String, dimension2Value As String, dimension3Value As String, dimension4Value As String, dimension5Value As String, dimension6Value As String, dimension7Value As String, dimension8Value As String) As Boolean

Parameters

metricValue
Double

The value to be aggregated.

dimension1Value
String

The value of the 1st dimension.

dimension2Value
String

The value of the 2nd dimension.

dimension3Value
String

The value of the 3rd dimension.

dimension4Value
String

The value of the 4th dimension.

dimension5Value
String

The value of the 5th dimension.

dimension6Value
String

The value of the 6th dimension.

dimension7Value
String

The value of the 7th dimension.

dimension8Value
String

The value of the 8th dimension.

Returns

True if the specified value was added to the MetricSeries indicated by the specified dimension name; False if the indicated series could not be created because a dimension cap or a metric series cap was reached.

Exceptions

If the number of specified dimension names does not match the dimensionality of this Metric.

Applies to

TrackValue(Object, String, String, String, String, String, String, String)

Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period. This overload may only be used with 7-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.

public bool TrackValue (object metricValue, string dimension1Value, string dimension2Value, string dimension3Value, string dimension4Value, string dimension5Value, string dimension6Value, string dimension7Value);
member this.TrackValue : obj * string * string * string * string * string * string * string -> bool
Public Function TrackValue (metricValue As Object, dimension1Value As String, dimension2Value As String, dimension3Value As String, dimension4Value As String, dimension5Value As String, dimension6Value As String, dimension7Value As String) As Boolean

Parameters

metricValue
Object

The value to be aggregated.

dimension1Value
String

The value of the 1st dimension.

dimension2Value
String

The value of the 2nd dimension.

dimension3Value
String

The value of the 3rd dimension.

dimension4Value
String

The value of the 4th dimension.

dimension5Value
String

The value of the 5th dimension.

dimension6Value
String

The value of the 6th dimension.

dimension7Value
String

The value of the 7th dimension.

Returns

True if the specified value was added to the MetricSeries indicated by the specified dimension name; False if the indicated series could not be created because a dimension cap or a metric series cap was reached.

Exceptions

If the number of specified dimension names does not match the dimensionality of this Metric.

Applies to

TrackValue(Object, String, String, String, String, String, String)

Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period. This overload may only be used with 6-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.

public bool TrackValue (object metricValue, string dimension1Value, string dimension2Value, string dimension3Value, string dimension4Value, string dimension5Value, string dimension6Value);
member this.TrackValue : obj * string * string * string * string * string * string -> bool
Public Function TrackValue (metricValue As Object, dimension1Value As String, dimension2Value As String, dimension3Value As String, dimension4Value As String, dimension5Value As String, dimension6Value As String) As Boolean

Parameters

metricValue
Object

The value to be aggregated.

dimension1Value
String

The value of the 1st dimension.

dimension2Value
String

The value of the 2nd dimension.

dimension3Value
String

The value of the 3rd dimension.

dimension4Value
String

The value of the 4th dimension.

dimension5Value
String

The value of the 5th dimension.

dimension6Value
String

The value of the 6th dimension.

Returns

True if the specified value was added to the MetricSeries indicated by the specified dimension name; False if the indicated series could not be created because a dimension cap or a metric series cap was reached.

Exceptions

If the number of specified dimension names does not match the dimensionality of this Metric.

Applies to

TrackValue(Double, String, String, String, String, String, String)

Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period. This overload may only be used with 6-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.

public bool TrackValue (double metricValue, string dimension1Value, string dimension2Value, string dimension3Value, string dimension4Value, string dimension5Value, string dimension6Value);
member this.TrackValue : double * string * string * string * string * string * string -> bool
Public Function TrackValue (metricValue As Double, dimension1Value As String, dimension2Value As String, dimension3Value As String, dimension4Value As String, dimension5Value As String, dimension6Value As String) As Boolean

Parameters

metricValue
Double

The value to be aggregated.

dimension1Value
String

The value of the 1st dimension.

dimension2Value
String

The value of the 2nd dimension.

dimension3Value
String

The value of the 3rd dimension.

dimension4Value
String

The value of the 4th dimension.

dimension5Value
String

The value of the 5th dimension.

dimension6Value
String

The value of the 6th dimension.

Returns

True if the specified value was added to the MetricSeries indicated by the specified dimension name; False if the indicated series could not be created because a dimension cap or a metric series cap was reached.

Exceptions

If the number of specified dimension names does not match the dimensionality of this Metric.

Applies to

TrackValue(Object, String, String, String, String, String)

Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period. This overload may only be used with 5-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.

public bool TrackValue (object metricValue, string dimension1Value, string dimension2Value, string dimension3Value, string dimension4Value, string dimension5Value);
member this.TrackValue : obj * string * string * string * string * string -> bool
Public Function TrackValue (metricValue As Object, dimension1Value As String, dimension2Value As String, dimension3Value As String, dimension4Value As String, dimension5Value As String) As Boolean

Parameters

metricValue
Object

The value to be aggregated.

dimension1Value
String

The value of the 1st dimension.

dimension2Value
String

The value of the 2nd dimension.

dimension3Value
String

The value of the 3rd dimension.

dimension4Value
String

The value of the 4th dimension.

dimension5Value
String

The value of the 5th dimension.

Returns

True if the specified value was added to the MetricSeries indicated by the specified dimension name; False if the indicated series could not be created because a dimension cap or a metric series cap was reached.

Exceptions

If the number of specified dimension names does not match the dimensionality of this Metric.

Applies to

TrackValue(Double, String, String, String, String, String, String, String)

Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period. This overload may only be used with 7-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.

public bool TrackValue (double metricValue, string dimension1Value, string dimension2Value, string dimension3Value, string dimension4Value, string dimension5Value, string dimension6Value, string dimension7Value);
member this.TrackValue : double * string * string * string * string * string * string * string -> bool
Public Function TrackValue (metricValue As Double, dimension1Value As String, dimension2Value As String, dimension3Value As String, dimension4Value As String, dimension5Value As String, dimension6Value As String, dimension7Value As String) As Boolean

Parameters

metricValue
Double

The value to be aggregated.

dimension1Value
String

The value of the 1st dimension.

dimension2Value
String

The value of the 2nd dimension.

dimension3Value
String

The value of the 3rd dimension.

dimension4Value
String

The value of the 4th dimension.

dimension5Value
String

The value of the 5th dimension.

dimension6Value
String

The value of the 6th dimension.

dimension7Value
String

The value of the 7th dimension.

Returns

True if the specified value was added to the MetricSeries indicated by the specified dimension name; False if the indicated series could not be created because a dimension cap or a metric series cap was reached.

Exceptions

If the number of specified dimension names does not match the dimensionality of this Metric.

Applies to

TrackValue(Object, String, String, String, String)

Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period. This overload may only be used with 4-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.

public bool TrackValue (object metricValue, string dimension1Value, string dimension2Value, string dimension3Value, string dimension4Value);
member this.TrackValue : obj * string * string * string * string -> bool
Public Function TrackValue (metricValue As Object, dimension1Value As String, dimension2Value As String, dimension3Value As String, dimension4Value As String) As Boolean

Parameters

metricValue
Object

The value to be aggregated.

dimension1Value
String

The value of the 1st dimension.

dimension2Value
String

The value of the 2nd dimension.

dimension3Value
String

The value of the 3rd dimension.

dimension4Value
String

The value of the 4th dimension.

Returns

True if the specified value was added to the MetricSeries indicated by the specified dimension name; False if the indicated series could not be created because a dimension cap or a metric series cap was reached.

Exceptions

If the number of specified dimension names does not match the dimensionality of this Metric.

Applies to

TrackValue(Double, String, String, String, String)

Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period. This overload may only be used with 4-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.

public bool TrackValue (double metricValue, string dimension1Value, string dimension2Value, string dimension3Value, string dimension4Value);
member this.TrackValue : double * string * string * string * string -> bool
Public Function TrackValue (metricValue As Double, dimension1Value As String, dimension2Value As String, dimension3Value As String, dimension4Value As String) As Boolean

Parameters

metricValue
Double

The value to be aggregated.

dimension1Value
String

The value of the 1st dimension.

dimension2Value
String

The value of the 2nd dimension.

dimension3Value
String

The value of the 3rd dimension.

dimension4Value
String

The value of the 4th dimension.

Returns

True if the specified value was added to the MetricSeries indicated by the specified dimension name; False if the indicated series could not be created because a dimension cap or a metric series cap was reached.

Exceptions

If the number of specified dimension names does not match the dimensionality of this Metric.

Applies to

TrackValue(Object, String, String, String)

Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period. This overload may only be used with 3-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.

public bool TrackValue (object metricValue, string dimension1Value, string dimension2Value, string dimension3Value);
member this.TrackValue : obj * string * string * string -> bool
Public Function TrackValue (metricValue As Object, dimension1Value As String, dimension2Value As String, dimension3Value As String) As Boolean

Parameters

metricValue
Object

The value to be aggregated.

dimension1Value
String

The value of the 1st dimension.

dimension2Value
String

The value of the 2nd dimension.

dimension3Value
String

The value of the 3rd dimension.

Returns

True if the specified value was added to the MetricSeries indicated by the specified dimension name; False if the indicated series could not be created because a dimension cap or a metric series cap was reached.

Exceptions

If the number of specified dimension names does not match the dimensionality of this Metric.

Applies to

TrackValue(Double, String, String, String)

Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period. This overload may only be used with 3-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.

public bool TrackValue (double metricValue, string dimension1Value, string dimension2Value, string dimension3Value);
member this.TrackValue : double * string * string * string -> bool
Public Function TrackValue (metricValue As Double, dimension1Value As String, dimension2Value As String, dimension3Value As String) As Boolean

Parameters

metricValue
Double

The value to be aggregated.

dimension1Value
String

The value of the 1st dimension.

dimension2Value
String

The value of the 2nd dimension.

dimension3Value
String

The value of the 3rd dimension.

Returns

True if the specified value was added to the MetricSeries indicated by the specified dimension name; False if the indicated series could not be created because a dimension cap or a metric series cap was reached.

Exceptions

If the number of specified dimension names does not match the dimensionality of this Metric.

Applies to

TrackValue(Object, String, String)

Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period. This overload may only be used with 2-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.

public bool TrackValue (object metricValue, string dimension1Value, string dimension2Value);
member this.TrackValue : obj * string * string -> bool
Public Function TrackValue (metricValue As Object, dimension1Value As String, dimension2Value As String) As Boolean

Parameters

metricValue
Object

The value to be aggregated.

dimension1Value
String

The value of the 1st dimension.

dimension2Value
String

The value of the 2nd dimension.

Returns

True if the specified value was added to the MetricSeries indicated by the specified dimension name; False if the indicated series could not be created because a dimension cap or a metric series cap was reached.

Exceptions

If the number of specified dimension names does not match the dimensionality of this Metric.

Applies to

TrackValue(Double, String, String)

Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period. This overload may only be used with 2-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.

public bool TrackValue (double metricValue, string dimension1Value, string dimension2Value);
member this.TrackValue : double * string * string -> bool
Public Function TrackValue (metricValue As Double, dimension1Value As String, dimension2Value As String) As Boolean

Parameters

metricValue
Double

The value to be aggregated.

dimension1Value
String

The value of the 1st dimension.

dimension2Value
String

The value of the 2nd dimension.

Returns

True if the specified value was added to the MetricSeries indicated by the specified dimension name; False if the indicated series could not be created because a dimension cap or a metric series cap was reached.

Exceptions

If the number of specified dimension names does not match the dimensionality of this Metric.

Applies to

TrackValue(Object, String)

Tracks the specified value using the MetricSeries associated with the specified dimension value.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period. This overload may only be used with 1-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.

public bool TrackValue (object metricValue, string dimension1Value);
member this.TrackValue : obj * string -> bool
Public Function TrackValue (metricValue As Object, dimension1Value As String) As Boolean

Parameters

metricValue
Object

The value to be aggregated.

dimension1Value
String

The value of the 1st dimension.

Returns

True if the specified value was added to the MetricSeries indicated by the specified dimension name; False if the indicated series could not be created because a dimension cap or a metric series cap was reached.

Exceptions

If the number of specified dimension names does not match the dimensionality of this Metric.

Applies to

TrackValue(Double, String)

Tracks the specified value using the MetricSeries associated with the specified dimension value.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period. This overload may only be used with 1-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.

public bool TrackValue (double metricValue, string dimension1Value);
member this.TrackValue : double * string -> bool
Public Function TrackValue (metricValue As Double, dimension1Value As String) As Boolean

Parameters

metricValue
Double

The value to be aggregated.

dimension1Value
String

The value of the 1st dimension.

Returns

True if the specified value was added to the MetricSeries indicated by the specified dimension name; False if the indicated series could not be created because a dimension cap or a metric series cap was reached.

Exceptions

If the number of specified dimension names does not match the dimensionality of this Metric.

Applies to

TrackValue(Object)

Tracks the specified value.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period.
This method uses the zero-dimensional MetricSeries associated with this metric. Use TrackValue(..) to track values into MetricSeries associated with specific dimension-values in multi-dimensional metrics.

public void TrackValue (object metricValue);
member this.TrackValue : obj -> unit
Public Sub TrackValue (metricValue As Object)

Parameters

metricValue
Object

The value to be aggregated.

Applies to

TrackValue(Double)

Tracks the specified value.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period.
This method uses the zero-dimensional MetricSeries associated with this metric. Use TrackValue(..) to track values into MetricSeries associated with specific dimension-values in multi-dimensional metrics.

public void TrackValue (double metricValue);
member this.TrackValue : double -> unit
Public Sub TrackValue (metricValue As Double)

Parameters

metricValue
Double

The value to be aggregated.

Applies to

TrackValue(Double, String, String, String, String, String)

Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period. This overload may only be used with 5-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.

public bool TrackValue (double metricValue, string dimension1Value, string dimension2Value, string dimension3Value, string dimension4Value, string dimension5Value);
member this.TrackValue : double * string * string * string * string * string -> bool
Public Function TrackValue (metricValue As Double, dimension1Value As String, dimension2Value As String, dimension3Value As String, dimension4Value As String, dimension5Value As String) As Boolean

Parameters

metricValue
Double

The value to be aggregated.

dimension1Value
String

The value of the 1st dimension.

dimension2Value
String

The value of the 2nd dimension.

dimension3Value
String

The value of the 3rd dimension.

dimension4Value
String

The value of the 4th dimension.

dimension5Value
String

The value of the 5th dimension.

Returns

True if the specified value was added to the MetricSeries indicated by the specified dimension name; False if the indicated series could not be created because a dimension cap or a metric series cap was reached.

Exceptions

If the number of specified dimension names does not match the dimensionality of this Metric.

Applies to