Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.

  NameDescription
Public propertyViolationMessageGets a message describing a rule violation.
Top
  NameDescription
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.
Top

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.