Bagikan melalui


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
Public method PerformanceCounterValue Initializes a new instance of the PerformanceCounterValue class.

Top

Properties

  Name Description
Public property CategoryName Gets the category of the performance counter.
Public property CounterName Gets the name of the performance counter.
Public property InstanceName Gets the name of the instance of the performance counter.
Public property MachineName Gets the name of the computer from which the performance counter value was collected.
Public property Value Gets the sampled value of the performance counter.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method 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.

See Also

Reference

Microsoft.VisualStudio.TestTools.LoadTesting Namespace