Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Public Interface IThresholdRule
public interface IThresholdRule
public interface class IThresholdRule
type IThresholdRule = interface end
public interface IThresholdRule
The IThresholdRule type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() |
ViolationMessage | Gets a message describing a rule violation. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
CheckCounterValue | 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. |
Top
Remarks
This defines the interface to a threshold rule implementation. There might be user-written threshold rule implementations in addition to built-in implementations.