Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ICounterProvider.GetCounterValue Method (String, String, String, String)

 

Gets the current value of a performance counter.

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

PerformanceCounterValue GetCounterValue(
	string machineName,
	string categoryName,
	string counterName,
	string instanceName
)

Parameters

machineName
Type: System.String

The name of the computer from which the performance counter value is collected.

categoryName
Type: System.String

The category name of the performance counter.

counterName
Type: System.String

The name of the performance counter.

instanceName
Type: System.String

The name of the instance of the performance counter.

Return to top
Show: