MarkerSeries.IsEnabled Method (Int32)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

'Declaration
Public Function IsEnabled ( _
    category As Integer _
) As Boolean
public bool IsEnabled(
    int category
)
public:
bool IsEnabled(
    int category
)
member IsEnabled : 
        category:int -> bool
public function IsEnabled(
    category : int
) : 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.

.NET Framework Security

See Also

Reference

MarkerSeries Class

IsEnabled Overload

Microsoft.ConcurrencyVisualizer.Instrumentation Namespace