This documentation is archived and is not being maintained.

ICounterProvider Interface

Defines an interface that an implementation of the IThresholdRule interface can use to obtain the current values of performance counters, other than the performance counter being tested.

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

public interface ICounterProvider

The ICounterProvider type exposes the following members.

  NameDescription
Public methodGetCounterValueGets the current value of a performance counter.
Top

This allows the threshold check for a performance counter value to be relative to one or more other performance counter values.

Show: