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 category.
Namespace: Microsoft.ConcurrencyVisualizer.Instrumentation
Assembly: Microsoft.ConcurrencyVisualizer.Markers (in Microsoft.ConcurrencyVisualizer.Markers.dll)
Syntax
'Declaration
Public Function IsEnabled ( _
category As Integer _
) As Boolean
public bool IsEnabled(
int category
)
public:
bool IsEnabled(
int category
)
member IsEnabled :
category:int -> bool
public function IsEnabled(
category : int
) : boolean
Parameters
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.