Export (0) Print
Expand All

WorkflowRuntimeElement.EnablePerformanceCounters Property

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

Namespace:  System.ServiceModel.Configuration
Assembly:  System.WorkflowServices (in System.WorkflowServices.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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5
Show:
© 2015 Microsoft