MarkerSeries.IsEnabled 方法 (Importance)

判斷任何的工作階段是否已啟用標記 ETW 提供者,以指定的重要性層級。

命名空間:  Microsoft.ConcurrencyVisualizer.Instrumentation
組件:  Microsoft.ConcurrencyVisualizer.Markers (在 Microsoft.ConcurrencyVisualizer.Markers.dll 中)

語法

'宣告
Public Function IsEnabled ( _
    level As Importance _
) As Boolean
public bool IsEnabled(
    Importance level
)
public:
bool IsEnabled(
    Importance level
)
member IsEnabled : 
        level:Importance -> bool 
public function IsEnabled(
    level : Importance
) : boolean

參數

傳回值

型別:System.Boolean
true 表示已啟用工作階段。 否則, false。

.NET Framework 安全性

請參閱

參考

MarkerSeries 類別

IsEnabled 多載

Microsoft.ConcurrencyVisualizer.Instrumentation 命名空間