Information
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 Interface

 

Used to monitor the values of performance counters during a load test run to signal warnings or critical alarms when the value of a performance counters exceeds a threshold.

Namespace:   Microsoft.VisualStudio.TestTools.LoadTesting
Assembly:  Microsoft.VisualStudio.QualityTools.LoadTestFramework (in Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll)

public interface class IThresholdRule

NameDescription
System_CAPS_pubpropertyViolationMessage

Gets a message describing a rule violation.

NameDescription
System_CAPS_pubmethodCheckCounterValue(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.

This defines the interface to a threshold rule implementation. There might be user-written threshold rule implementations in addition to built-in implementations.

Return to top
Show: