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 and category.
Namespace: Microsoft.ConcurrencyVisualizer.Instrumentation
Assembly: Microsoft.ConcurrencyVisualizer.Markers (in Microsoft.ConcurrencyVisualizer.Markers.dll)
Syntax
'Declaration
Public Function IsEnabled ( _
level As Importance, _
category As Integer _
) As Boolean
public bool IsEnabled(
Importance level,
int category
)
public:
bool IsEnabled(
Importance level,
int category
)
member IsEnabled :
level:Importance *
category:int -> bool
public function IsEnabled(
level : Importance,
category : int
) : boolean
Parameters
level
Type: Microsoft.ConcurrencyVisualizer.Instrumentation.ImportanceThe importance of the provider.
category
Type: Int32The category of the span. Any integer is valid.
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.