Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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 IThresholdRule

The IThresholdRule type exposes the following members.

Public propertyViolationMessageGets a message describing a rule violation.

Public methodCheckCounterValueChecks 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.

Community Additions

© 2015 Microsoft