MarkerWriter.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 Function IsEnabled As Boolean
public bool IsEnabled()
public:
bool IsEnabled()
member IsEnabled : unit -> bool
public function IsEnabled() : boolean

Return Value

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

.NET Framework Security

See Also

Reference

MarkerWriter Class

IsEnabled Overload

Microsoft.ConcurrencyVisualizer.Instrumentation Namespace