Share via


MarkerSeries.IsEnabled Method (Int32)

 

Determines whether any session has enabled the markers ETW provider with the specified category.

Namespace:   Microsoft.ConcurrencyVisualizer.Instrumentation
Assembly:  Microsoft.ConcurrencyVisualizer.Markers (in Microsoft.ConcurrencyVisualizer.Markers.dll)

Syntax

public bool IsEnabled(
    int category
)
public:
bool IsEnabled(
    int category
)
member IsEnabled : 
        category:int -> bool
Public Function IsEnabled (
    category As Integer
) As Boolean

Parameters

  • 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
MarkerSeries Class
Microsoft.ConcurrencyVisualizer.Instrumentation Namespace

Return to top