CustomAce
Represents an Access Control Entry (ACE) that is not defined by one of the members of the AceType enumeration.
using System.Runtime.CompilerServices;
namespace System.Security.AccessControl
{
[System.Runtime.CompilerServices.NullableContext(2)]
[System.Runtime.CompilerServices.Nullable(0)]
public sealed class CustomAce : GenericAce
{
public static readonly int MaxOpaqueLength;
public override int BinaryLength {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl);
}
}
public int OpaqueLength {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl);
}
}
public CustomAce(AceType type, AceFlags flags, byte[] opaque)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl);
}
[System.Runtime.CompilerServices.NullableContext(1)]
public override void GetBinaryForm(byte[] binaryForm, int offset)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl);
}
public byte[] GetOpaque()
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl);
}
public void SetOpaque(byte[] opaque)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl);
}
}
}