MetricCollection Add Method (String, Int32, Boolean)C# API
Adds a metric value to this collection, specifying whether the metric passed or failed.

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

public void Add(
	string name,
	int value,
	bool pass
)

Parameters

name
Type: System String
The name of the metric to record.
value
Type: System Int32
The value of the metric to record.
pass
Type: System Boolean
Indicates whether the metric has passed or failed.
Exceptions

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