<PackageReference Include="System.Security.AccessControl" Version="6.0.1" />

AuditRule<T>

public class AuditRule<T> : AuditRule where T : struct
using System.Runtime.CompilerServices; using System.Security.Principal; namespace System.Security.AccessControl { public class AuditRule<T> : AuditRule where T : struct { public T Rights { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } } public AuditRule([System.Runtime.CompilerServices.Nullable(1)] IdentityReference identity, T rights, AuditFlags flags) : base(null, 0, false, InheritanceFlags.None, PropagationFlags.None, AuditFlags.None) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } public AuditRule([System.Runtime.CompilerServices.Nullable(1)] IdentityReference identity, T rights, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AuditFlags flags) : base(null, 0, false, InheritanceFlags.None, PropagationFlags.None, AuditFlags.None) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } public AuditRule([System.Runtime.CompilerServices.Nullable(1)] string identity, T rights, AuditFlags flags) : base(null, 0, false, InheritanceFlags.None, PropagationFlags.None, AuditFlags.None) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } public AuditRule([System.Runtime.CompilerServices.Nullable(1)] string identity, T rights, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AuditFlags flags) : base(null, 0, false, InheritanceFlags.None, PropagationFlags.None, AuditFlags.None) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } } }