Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines whether any session has enabled the markers ETW provider with the specified importance level and category.
Namespace:   Microsoft.ConcurrencyVisualizer.Instrumentation
Assembly:  Microsoft.ConcurrencyVisualizer.Markers (in Microsoft.ConcurrencyVisualizer.Markers.dll)
Syntax
public static bool IsEnabled(
    Importance level,
    int category
)
public:
static bool IsEnabled(
    Importance level,
    int category
)
static member IsEnabled : 
        level:Importance *
        category:int -> bool
Public Shared Function IsEnabled (
    level As Importance,
    category As Integer
) As Boolean
Parameters
- level 
 Type: Microsoft.ConcurrencyVisualizer.Instrumentation.Importance- The importance of the provider. 
- category 
 Type: System.Int32- The category of the span. Any integer is valid. 
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