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
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk