EventLogPermissionAttribute | serializable |
System.Diagnostics (system.dll) | class |
This security attribute specifies
the
EventLogPermissionAccess required by your code.
public class EventLogPermissionAttribute : System.Security.Permissions.CodeAccessSecurityAttribute {
// Public Constructors
public EventLogPermissionAttribute(System.Security.Permissions.SecurityAction action);
// Public Instance Properties
public string MachineName{set; get; }
public EventLogPermissionAccess PermissionAccess{set; get; }
// Public Instance Methods
public override IPermission CreatePermission( );
// overrides System.Security.Permissions.SecurityAttribute
}
Hierarchy
System.Object
System.Attribute
System.Security.Permissions.SecurityAttribute
System.Security.Permissions.CodeAccessSecurityAttribute
EventLogPermissionAttribute
Valid On
Assembly, Class, Struct, Constructor, Method, Event
|