using System; using System.Runtime.Serialization; namespace System.Security.AccessControl { /// The exception that is thrown when a method in the namespace attempts to enable a privilege that it does not have. // Token: 0x020004D5 RID: 1237 [Serializable] public sealed class PrivilegeNotHeldException : UnauthorizedAccessException, ISerializable { /// Initializes a new instance of the class. // Token: 0x06002DFA RID: 11770 RVA: 0x000940B8 File Offset: 0x000922B8 public PrivilegeNotHeldException() { } /// Initializes a new instance of the class by using the specified privilege. /// The privilege that is not enabled. // Token: 0x06002DFB RID: 11771 RVA: 0x000940C0 File Offset: 0x000922C0 public PrivilegeNotHeldException(string privilege) : base(privilege) { } /// Initializes a new instance of the class by using the specified exception. /// The privilege that is not enabled. /// The exception that is the cause of the current exception. If the parameter is not a null reference (Nothing in Visual Basic), the current exception is raised in a catch block that handles the inner exception. // Token: 0x06002DFC RID: 11772 RVA: 0x000940CC File Offset: 0x000922CC public PrivilegeNotHeldException(string privilege, Exception inner) : base(privilege, inner) { } /// Gets the name of the privilege that is not enabled. /// The name of the privilege that the method failed to enable. // Token: 0x17000914 RID: 2324 // (get) Token: 0x06002DFD RID: 11773 RVA: 0x000940D8 File Offset: 0x000922D8 public string PrivilegeName { get { throw new NotImplementedException(); } } /// Sets the parameter with information about the exception. /// The that holds the serialized object data about the exception being thrown. /// The that contains contextual information about the source or destination. /// /// /// // Token: 0x06002DFE RID: 11774 RVA: 0x000940E0 File Offset: 0x000922E0 [MonoTODO] public override void GetObjectData(SerializationInfo info, StreamingContext context) { throw new NotImplementedException(); } } }