WorkflowRuntimeElement.EnablePerformanceCounters Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets a value that indicates whether performance counters are enabled.

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

	DefaultValue = true)]
public bool EnablePerformanceCounters { get; set; }

Property Value

Type: System.Boolean

true if performance counters are enabled; otherwise, false.

Performance counters provide information on various workflow-related statistics, but they cause a performance penalty when the workflow runtime engine starts, and when workflow instances are running. The default value is true.

.NET Framework
Available since 3.5
Return to top