Markers.IsEnabled Method

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: Boolean
true to indicate a session is enabled; otherwise, false.

.NET Framework Security

See Also

Reference

Markers Class

IsEnabled Overload

Microsoft.ConcurrencyVisualizer.Instrumentation Namespace