共用方式為


DiagnosticSection.PerformanceCounters 屬性

定義

取得或設定值,指定是否為組件啟用效能計數器。

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 值,指定為組件啟用何種效能計數器。

屬性

適用於