O'Reilly logo

C# in a Nutshell by Peter Drayton, Ted Neward, Ben Albahari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

PerformanceCounterPermissionAccess

Synopsis

This enumeration represents the different types of access that can be granted to executing code. Administer allows full control over a PerformanceCounter, while Browse allows you to view, but not modify PerformanceCounter data. Instrument allows the code to act as a performance counter (you may read and write, but not create, categories). None explicitly denies access to a PerformanceCounterCategory.

public enum PerformanceCounterPermissionAccess {
            None = 0x00000000,
            Browse = 0x00000002,
            Instrument = 0x00000006,
            Administer = 0x0000000E
}

Hierarchy

System.ObjectSystem.ValueTypeSystem.Enum(System.IComparable, System.IFormattable, System.IConvertible)PerformanceCounterPermissionAccess

Returned By

PerformanceCounterPermissionAttribute.PermissionAccess, PerformanceCounterPermissionEntry.PermissionAccess

Passed To

PerformanceCounterPermission.PerformanceCounterPermission(), PerformanceCounterPermissionAttribute.PermissionAccess, PerformanceCounterPermissionEntry.PerformanceCounterPermissionEntry()

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required