Bagikan melalui


Markers.IsEnabled Method

[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.

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

Syntax

'Declaration
Public Shared Function IsEnabled As Boolean
public static bool IsEnabled()
public:
static bool IsEnabled()
static member IsEnabled : unit -> bool
public static function IsEnabled() : boolean

Return Value

Type: System.Boolean
true to indicate a session is enabled; otherwise, false.

.NET Framework Security

See Also

Reference

Markers Class

IsEnabled Overload

Microsoft.ConcurrencyVisualizer.Instrumentation Namespace