Share via


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

適用於