RegistryAuditRule
Represents a set of access rights to be audited for a user or group. This class cannot be inherited.
using System.Runtime.CompilerServices;
using System.Security.Principal;
namespace System.Security.AccessControl
{
[System.Runtime.CompilerServices.NullableContext(1)]
[System.Runtime.CompilerServices.Nullable(0)]
public sealed class RegistryAuditRule : AuditRule
{
public RegistryRights RegistryRights {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Registry);
}
}
public RegistryAuditRule(IdentityReference identity, RegistryRights registryRights, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AuditFlags flags)
: base(null, 0, false, InheritanceFlags.None, PropagationFlags.None, AuditFlags.None)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Registry);
}
public RegistryAuditRule(string identity, RegistryRights registryRights, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AuditFlags flags)
: base(null, 0, false, InheritanceFlags.None, PropagationFlags.None, AuditFlags.None)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Registry);
}
}
}