PerformanceCounterValue Class
Contains the computed value of a performance counter collected during a load test run.
Inheritance Hierarchy
Object
Microsoft.VisualStudio.TestTools.LoadTesting.PerformanceCounterValue
Namespace: Microsoft.VisualStudio.TestTools.LoadTesting
Assembly: Microsoft.VisualStudio.QualityTools.LoadTestFramework (in Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Class PerformanceCounterValue
[SerializableAttribute]
public class PerformanceCounterValue
[SerializableAttribute]
public ref class PerformanceCounterValue
[<SerializableAttribute>]
type PerformanceCounterValue = class end
public class PerformanceCounterValue
The PerformanceCounterValue type exposes the following members.
Constructors
Name | Description | |
---|---|---|
PerformanceCounterValue | Initializes a new instance of the PerformanceCounterValue class. |
Top
Properties
Name | Description | |
---|---|---|
CategoryName | Gets the category of the performance counter. | |
CounterName | Gets the name of the performance counter. | |
InstanceName | Gets the name of the instance of the performance counter. | |
MachineName | Gets the name of the computer from which the performance counter value was collected. | |
Value | Gets the sampled value of the performance counter. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns information about the PerformanceCounterValue and its value property. (Overrides Object.ToString.) |
Top
Remarks
This class is serializable.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.