PerformanceCounterPermissionAttribute.cs 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. //
  2. // System.Diagnostics.PerformanceCounterPermissionAttribute.cs
  3. //
  4. // Authors:
  5. // Jonathan Pryor ([email protected])
  6. //
  7. // (C) 2002
  8. //
  9. using System;
  10. using System.Diagnostics;
  11. using System.Security;
  12. using System.Security.Permissions;
  13. namespace System.Diagnostics {
  14. [AttributeUsage(
  15. AttributeTargets.Assembly |
  16. AttributeTargets.Class |
  17. AttributeTargets.Struct |
  18. AttributeTargets.Constructor |
  19. AttributeTargets.Method |
  20. AttributeTargets.Event )]
  21. [MonoTODO]
  22. public class PerformanceCounterPermissionAttribute
  23. : CodeAccessSecurityAttribute {
  24. [MonoTODO]
  25. public PerformanceCounterPermissionAttribute (
  26. SecurityAction action)
  27. : base (action)
  28. {
  29. throw new NotImplementedException ();
  30. }
  31. // [MonoTODO]
  32. // public string CategoryName {
  33. // get {throw new NotImplementedException ();}
  34. // set {throw new NotImplementedException ();}
  35. // }
  36. //
  37. // [MonoTODO]
  38. // public string MachineName {
  39. // get {throw new NotImplementedException ();}
  40. // set {throw new NotImplementedException ();}
  41. // }
  42. //
  43. // [MonoTODO]
  44. // public PerformanceCounterPermissionAccess PermissionAccess {
  45. // get {throw new NotImplementedException ();}
  46. // set {throw new NotImplementedException ();}
  47. // }
  48. //
  49. [MonoTODO]
  50. public override IPermission CreatePermission ()
  51. {
  52. throw new NotImplementedException ();
  53. }
  54. }
  55. }