WorkflowRuntimeElement.EnablePerformanceCounters 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定一個值,指示是否啟用效能計數器。
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。