DiagnosticSection::PerformanceCounters Property

 

Gets or sets a value that specifies whether performance counters for the assembly are enabled.

Namespace:   System.ServiceModel.Configuration
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public:
[ConfigurationPropertyAttribute("performanceCounters", DefaultValue = PerformanceCounterScope::Default)]
property PerformanceCounterScope PerformanceCounters {
	PerformanceCounterScope get();
	void set(PerformanceCounterScope value);
}

Property Value

Type: System.ServiceModel.Diagnostics::PerformanceCounterScope

A valid PerformanceCounterScope value that specifies what kind of performance counters for the assembly are enabled.

.NET Framework
Available since 3.0
Return to top
Show: