System.Diagnostics.EventLogPermissionAttribute Class

Allows declaritive permission checks for event logging.

See Also: EventLogPermissionAttribute 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 EventLogPermissionAttribute : 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