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

一个有效的 PerformanceCounterScope 值,指定启用程序集的哪种性能计数器。

属性

适用于