System.Diagnostics.PerformanceCounterPermissionAttribute Class

Allows declaritive performance counter permission checks.

See Also: PerformanceCounterPermissionAttribute Members

Syntax

[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Struct | System.AttributeTargets.Constructor | System.AttributeTargets.Method | System.AttributeTargets.Event | System.AttributeTargets.All, AllowMultiple=true, Inherited=false)]
public class PerformanceCounterPermissionAttribute : System.Security.Permissions.CodeAccessSecurityAttribute

Remarks

For more information about using attributes, see [<topic://cpconExtendingMetadataUsingAttributes>].

Requirements

Namespace: System.Diagnostics
Assembly: System (in System.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0, 4.0.0.0