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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.