Markers.IsEnabled Method (Importance)
Determines whether any session has enabled the markers ETW provider with the specified importance level.
Namespace: Microsoft.ConcurrencyVisualizer.Instrumentation
Assembly: Microsoft.ConcurrencyVisualizer.Markers (in Microsoft.ConcurrencyVisualizer.Markers.dll)
Syntax
public static bool IsEnabled(
Importance level
)
public:
static bool IsEnabled(
Importance level
)
static member IsEnabled :
level:Importance -> bool
Public Shared Function IsEnabled (
level As Importance
) As Boolean
Parameters
level
Type: Microsoft.ConcurrencyVisualizer.Instrumentation.ImportanceThe importance of the provider.
Return Value
Type: System.Boolean
true to indicate a session is enabled; otherwise, false.
See Also
IsEnabled Overload
Markers Class
Microsoft.ConcurrencyVisualizer.Instrumentation Namespace
Return to top