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.
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 Value
Type: Microsoft.VisualStudio.TestTools.LoadTesting::PerformanceCounterValue^A PerformanceCounterValue object.
Show: