PerformanceCounterValue 類別
包含在負載測試回合期間所收集到之效能計數器的計算值。
繼承階層架構
System.Object
Microsoft.VisualStudio.TestTools.LoadTesting.PerformanceCounterValue
命名空間: Microsoft.VisualStudio.TestTools.LoadTesting
組件: Microsoft.VisualStudio.QualityTools.LoadTestFramework (在 Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll 中)
語法
'宣告
<SerializableAttribute> _
Public Class PerformanceCounterValue
[SerializableAttribute]
public class PerformanceCounterValue
[SerializableAttribute]
public ref class PerformanceCounterValue
[<SerializableAttribute>]
type PerformanceCounterValue = class end
public class PerformanceCounterValue
PerformanceCounterValue 型別會公開下列成員。
建構函式
名稱 | 說明 | |
---|---|---|
![]() |
PerformanceCounterValue | 初始化 PerformanceCounterValue 類別的新執行個體。 |
回頁首
屬性
名稱 | 說明 | |
---|---|---|
![]() |
CategoryName | 取得效能計數器的分類。 |
![]() |
CounterName | 取得效能計數器的名稱。 |
![]() |
InstanceName | 取得效能計數器的執行個體名稱。 |
![]() |
MachineName | 取得用來收集效能計數器值的電腦名稱。 |
![]() |
Value | 取得效能計數器的取樣值。 |
回頁首
方法
名稱 | 說明 | |
---|---|---|
![]() |
Equals | 判斷指定的物件是否等於目前物件。 (繼承自 Object)。 |
![]() |
Finalize | 允許物件在記憶體回收進行回收之前,嘗試釋放資源並執行其他清除作業。 (繼承自 Object)。 |
![]() |
GetHashCode | 做為特定型別的雜湊函式。 (繼承自 Object)。 |
![]() |
GetType | 取得目前執行個體的 Type。 (繼承自 Object)。 |
![]() |
MemberwiseClone | 建立目前 Object 的淺層複本 (Shallow Copy)。 (繼承自 Object)。 |
![]() |
ToString | 傳回 PerformanceCounterValue 及其 value 屬性的相關資訊。 (覆寫 Object.ToString()。) |
回頁首
備註
此類別可以序列化。
執行緒安全
這個型別的任何 Public static (在 Visual Basic 中為 Shared) 成員都具備執行緒安全。不保證任何執行個體成員是安全執行緒。