MetricCollection Add Method (String, Int32)C# API
Adds a metric value to this collection.

Namespace: Facilita.Fc.Runtime
Assembly: fc_clr (in fc_clr.dll) Version: 9.5.7.98
Syntax

public void Add(
	string name,
	int value
)

Parameters

name
Type: System String
The name of the metric to record.
value
Type: System Int32
The value of the metric to record.
Exceptions

ExceptionCondition
Facilita.Exception BadValueExceptionA metric with the specified name already exists in the collection.
See Also