共用方式為


Markers.IsEnabled 方法 ()

 

判斷是否有工作階段已啟用標記 ETW 提供者。

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

語法

public static bool IsEnabled()
public:
static bool IsEnabled()
static member IsEnabled : unit -> bool
Public Shared Function IsEnabled As Boolean

傳回值

Type: System.Boolean

true 表示已啟用工作階段,否則為 false

請參閱

IsEnabled 超載
Markers 類別
Microsoft.ConcurrencyVisualizer.Instrumentation 命名空間

回到頁首