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 值,指定启用程序集的哪种性能计数器。
- 属性