Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Public Function IsEnabled ( _
level As Importance _
) As Boolean
public bool IsEnabled(
Importance level
)
public:
bool IsEnabled(
Importance level
)
member IsEnabled :
level:Importance -> bool
public function IsEnabled(
level : Importance
) : boolean
Parameters
level
Type: Microsoft.ConcurrencyVisualizer.Instrumentation.ImportanceThe importance of the provider.
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.