PerformanceCounterValue Constructor
Initializes a new instance of the PerformanceCounterValue class.
Namespace: Microsoft.VisualStudio.TestTools.LoadTesting
Assembly: Microsoft.VisualStudio.QualityTools.LoadTestFramework (in Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll)
Syntax
'Declaration
Public Sub New ( _
machineName As String, _
categoryName As String, _
counterName As String, _
instanceName As String, _
value As Single _
)
public PerformanceCounterValue(
string machineName,
string categoryName,
string counterName,
string instanceName,
float value
)
public:
PerformanceCounterValue(
String^ machineName,
String^ categoryName,
String^ counterName,
String^ instanceName,
float value
)
new :
machineName:string *
categoryName:string *
counterName:string *
instanceName:string *
value:float32 -> PerformanceCounterValue
public function PerformanceCounterValue(
machineName : String,
categoryName : String,
counterName : String,
instanceName : String,
value : float
)
Parameters
- machineName
Type: System.String
The name of the computer from which the performance counter value was collected.
- categoryName
Type: System.String
The category 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.
- value
Type: System.Single
The sampled value of the performance counter.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.