DiagnosticSection.PerformanceCounters 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定值,指定是否為組件啟用效能計數器。
public:
property System::ServiceModel::Diagnostics::PerformanceCounterScope PerformanceCounters { System::ServiceModel::Diagnostics::PerformanceCounterScope get(); void set(System::ServiceModel::Diagnostics::PerformanceCounterScope value); };
[System.Configuration.ConfigurationProperty("performanceCounters", DefaultValue=System.ServiceModel.Diagnostics.PerformanceCounterScope.Default)]
public System.ServiceModel.Diagnostics.PerformanceCounterScope PerformanceCounters { get; set; }
[<System.Configuration.ConfigurationProperty("performanceCounters", DefaultValue=System.ServiceModel.Diagnostics.PerformanceCounterScope.Default)>]
member this.PerformanceCounters : System.ServiceModel.Diagnostics.PerformanceCounterScope with get, set
Public Property PerformanceCounters As PerformanceCounterScope
屬性值
有效的 PerformanceCounterScope 值,指定為組件啟用何種效能計數器。
- 屬性