Szerkesztés

Megosztás a következőn keresztül:


PerformanceCounterScope Enum

Definition

Specifies whether performance counters for the assembly are enabled.

public enum class PerformanceCounterScope
public enum PerformanceCounterScope
type PerformanceCounterScope = 
Public Enum PerformanceCounterScope
Inheritance
PerformanceCounterScope

Fields

Name Value Description
Off 0

Performance counters are disabled. This is the default value.

ServiceOnly 1

Only performance counters relevant to this service is enabled.

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).

Remarks

This enumeration is used to configure the PerformanceCounters property to indicate whether performance counters are enabled for diagnostics purpose.

Applies to

See also