Share via


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)

Syntax

'Declaration
Public Interface ICounterProvider
public interface ICounterProvider
public interface class ICounterProvider
type ICounterProvider =  interface end
public interface ICounterProvider

The ICounterProvider type exposes the following members.

Methods

  Name Description
Public method GetCounterValue Gets the current value of a performance counter.

Top

Remarks

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

See Also

Reference

Microsoft.VisualStudio.TestTools.LoadTesting Namespace