WorkflowRuntimeElement.EnablePerformanceCounters 属性

定义

获取或设置一个值,该值指示是否启用性能计数器。

public:
 property bool EnablePerformanceCounters { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("enablePerformanceCounters", DefaultValue=true)]
public bool EnablePerformanceCounters { get; set; }
[<System.Configuration.ConfigurationProperty("enablePerformanceCounters", DefaultValue=true)>]
member this.EnablePerformanceCounters : bool with get, set
Public Property EnablePerformanceCounters As Boolean

属性值

如果启用性能计数器,则为 true;否则为 false

属性

注解

性能计数器提供各种与工作流相关的统计信息,但在工作流运行时引擎启动和工作流实例运行时会造成性能下降。 默认值是 true

适用于