AuditRule<T>
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);
}
}
}