MarkerWriter.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 bool IsEnabled(
Importance level
)
public:
bool IsEnabled(
Importance level
)
member IsEnabled :
level:Importance -> bool
Public 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
MarkerWriter Class
Microsoft.ConcurrencyVisualizer.Instrumentation Namespace
Return to top