Edit

Share via


PerformanceCounterPermissionAccess Enum

Definition

Defines access levels used by PerformanceCounter permission classes.

This enumeration supports a bitwise combination of its member values.

C#
[System.Flags]
public enum PerformanceCounterPermissionAccess
Inheritance
PerformanceCounterPermissionAccess
Attributes

Fields

Name Value Description
None 0

The PerformanceCounter has no permissions.

Browse 1

The PerformanceCounter can read categories.

Read 1

The PerformanceCounter can read categories.

Write 2

The PerformanceCounter can write categories.

Instrument 3

The PerformanceCounter can read and write categories.

Administer 7

The PerformanceCounter can read, write, and create categories.

Applies to

Product Versions
.NET 8 (package-provided), 9 (package-provided)
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

See also