PerformanceCounterValue Class

Contains the computed value of a performance counter collected during a load test run.


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

public class PerformanceCounterValue

The PerformanceCounterValue type exposes the following members.

Public methodPerformanceCounterValueInitializes a new instance of the PerformanceCounterValue class.

Public propertyCategoryNameGets the category of the performance counter.
Public propertyCounterNameGets the name of the performance counter.
Public propertyInstanceNameGets the name of the instance of the performance counter.
Public propertyMachineNameGets the name of the computer from which the performance counter value was collected.
Public propertyValueGets the sampled value of the performance counter.

Public methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns information about the PerformanceCounterValue and its value property. (Overrides Object.ToString().)

This class is serializable.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions