PerformanceCounterInstanceLifetime 列舉

定義

指定效能計數器執行個體的存留期。

public enum class PerformanceCounterInstanceLifetime
public enum PerformanceCounterInstanceLifetime
type PerformanceCounterInstanceLifetime = 
Public Enum PerformanceCounterInstanceLifetime
繼承
PerformanceCounterInstanceLifetime

欄位

Global 0

如果沒有任何計數器使用處理序分類時,就移除效能計數器執行個體。

Process 1

處理序關閉時,就移除效能計數器執行個體。

備註

預設行為是 Global,指定在沒有計數器使用進程類別時移除效能計數器實例。

適用於