| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- //
- // System.Diagnostics.EventLogPermissionAttribute.cs
- //
- // Authors:
- // Jonathan Pryor ([email protected])
- //
- // (C) 2002
- //
- using System;
- using System.Diagnostics;
- using System.Security;
- using System.Security.Permissions;
- namespace System.Diagnostics {
- [AttributeUsage(
- AttributeTargets.Assembly | AttributeTargets.Class |
- AttributeTargets.Struct | AttributeTargets.Constructor |
- AttributeTargets.Method | AttributeTargets.Event)]
- [Serializable]
- [MonoTODO("Just Stubbed Out")]
- public class EventLogPermissionAttribute : CodeAccessSecurityAttribute {
- public EventLogPermissionAttribute(SecurityAction action)
- : base(action)
- {
- }
- // // May throw ArgumentException if computer name is invalid
- // public string MachineName {
- // get {throw new NotImplementedException();}
- // set {throw new NotImplementedException();}
- // }
- //
- // public EventLogPermissionAccess PermissionAccess {
- // get {throw new NotImplementedException();}
- // set {throw new NotImplementedException();}
- // }
- //
- [MonoTODO]
- public override IPermission CreatePermission()
- {
- throw new NotImplementedException();
- }
- }
- }
|