This documentation is archived and is not being maintained.

WorkflowRuntimeSection.EnablePerformanceCounters Property

Gets or sets whether performance counters are enabled.

Namespace:  System.Workflow.Runtime.Configuration
Assembly:  System.Workflow.Runtime (in System.Workflow.Runtime.dll)

[ConfigurationPropertyAttribute("EnablePerformanceCounters", 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.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Show: