MarkerWriter.IsEnabled Method (Importance)

 

Determines whether any session has enabled the markers ETW provider with the specified importance level.

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

public bool IsEnabled(
	Importance level
)

Parameters

level
Type: Microsoft.ConcurrencyVisualizer.Instrumentation.Importance

The importance of the provider.

Return Value

Type: System.Boolean

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

Return to top
Show: