The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
IThresholdRule::CheckCounterValue Method (PerformanceCounterValue^, ICounterProvider^)
Checks the value of one or more counter samples against a threshold and returns a result that indicates the status of the counter relative to the threshold parameters specified by the rule parameters.
Assembly: Microsoft.VisualStudio.QualityTools.LoadTestFramework (in Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll)
ThresholdRuleResult CheckCounterValue( PerformanceCounterValue^ counterValue, ICounterProvider^ counterProvider )
Parameters
- counterValue
-
Type:
Microsoft.VisualStudio.TestTools.LoadTesting::PerformanceCounterValue^
The computed value of a performance counter.
- counterProvider
-
Type:
Microsoft.VisualStudio.TestTools.LoadTesting::ICounterProvider^
Provides information about performance counter values.
Return Value
Type: Microsoft.VisualStudio.TestTools.LoadTesting::ThresholdRuleResultA ThresholdRuleResult enumeration.
Show: