PerformanceCounterScope Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies whether performance counters for the assembly are enabled.
public enum class PerformanceCounterScope
public enum PerformanceCounterScope
type PerformanceCounterScope =
Public Enum PerformanceCounterScope
- Inheritance
Fields
All | 2 | Performance counters can be viewed at runtime. |
Default | 3 | A single performance counter instance _WCF_Admin is created. This instance is used to enable the collection of SQM data for used by the infrastructure. None of the counter values for this instance are updated and therefore will remain at zero. This is the default value if no configuration is present for Windows Communication Foundation (WCF). |
Off | 0 | Performance counters are disabled. This is the default value. |
ServiceOnly | 1 | Only performance counters relevant to this service is enabled. |
Remarks
This enumeration is used to configure the PerformanceCounters property to indicate whether performance counters are enabled for diagnostics purpose.
Applies to
See also
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈