MarkerSeries.IsEnabled-Methode (Importance, Int32)

Bestimmt, ob eine Sitzung den Anbieter der Markierung ETW die angegebene Wichtigkeitsstufe und der Kategorie aktiviert hat.

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

Syntax

'Declaration
Public Function IsEnabled ( _
    level As Importance, _
    category As Integer _
) As Boolean
public bool IsEnabled(
    Importance level,
    int category
)
public:
bool IsEnabled(
    Importance level, 
    int category
)
member IsEnabled : 
        level:Importance * 
        category:int -> bool 
public function IsEnabled(
    level : Importance, 
    category : int
) : boolean

Parameter

  • category
    Typ: System.Int32
    Die Kategorie der Spanne.Eine beliebige Ganzzahl ist gültig.

Rückgabewert

Typ: System.Boolean
true , um eine Sitzung anzugeben ist aktiviert, andernfalls false.

.NET Framework-Sicherheit

Siehe auch

Referenz

MarkerSeries Klasse

IsEnabled-Überladung

Microsoft.ConcurrencyVisualizer.Instrumentation-Namespace