using System; using System.Runtime.InteropServices; namespace System.Security.AccessControl { /// Provides the ability to control access to native objects without direct manipulation of Access Control Lists (ACLs). Native object types are defined by the enumeration. // Token: 0x020004CF RID: 1231 public abstract class NativeObjectSecurity : CommonObjectSecurity { // Token: 0x06002DAE RID: 11694 RVA: 0x00093D54 File Offset: 0x00091F54 internal NativeObjectSecurity() : base(false) { } /// Initializes a new instance of the class with the specified values. /// true if the new object is a container object. /// The type of securable object with which the new object is associated. // Token: 0x06002DAF RID: 11695 RVA: 0x00093D60 File Offset: 0x00091F60 protected NativeObjectSecurity(bool isContainer, ResourceType resourceType) : base(isContainer) { } /// Initializes a new instance of the class by using the specified values. /// true if the new object is a container object. /// The type of securable object with which the new object is associated. /// A delegate implemented by integrators that provides custom exceptions. /// An object that contains contextual information about the source or destination of the exception. // Token: 0x06002DB0 RID: 11696 RVA: 0x00093D6C File Offset: 0x00091F6C protected NativeObjectSecurity(bool isContainer, ResourceType resourceType, NativeObjectSecurity.ExceptionFromErrorCode exceptionFromErrorCode, object exceptionContext) : this(isContainer, resourceType) { } /// Initializes a new instance of the class with the specified values. We recommend that the values of the parameters passed to the constructor and persist methods be identical. For more information, see Remarks. /// true if the new object is a container object. /// The type of securable object with which the new object is associated. /// The handle of the securable object with which the new object is associated. /// One of the enumeration values that specifies the sections of the security descriptor (access rules, audit rules, owner, primary group) of the securable object to include in this object. // Token: 0x06002DB1 RID: 11697 RVA: 0x00093D78 File Offset: 0x00091F78 protected NativeObjectSecurity(bool isContainer, ResourceType resourceType, SafeHandle handle, AccessControlSections includeSections) : this(isContainer, resourceType) { } /// Initializes a new instance of the class with the specified values. We recommend that the values of the parameters passed to the constructor and persist methods be identical. For more information, see Remarks. /// true if the new object is a container object. /// The type of securable object with which the new object is associated. /// The name of the securable object with which the new object is associated. /// One of the enumeration values that specifies the sections of the security descriptor (access rules, audit rules, owner, primary group) of the securable object to include in this object. // Token: 0x06002DB2 RID: 11698 RVA: 0x00093D84 File Offset: 0x00091F84 protected NativeObjectSecurity(bool isContainer, ResourceType resourceType, string name, AccessControlSections includeSections) : this(isContainer, resourceType) { } /// Initializes a new instance of the class with the specified values. We recommend that the values of the parameters passed to the constructor and persist methods be identical. For more information, see Remarks. /// true if the new object is a container object. /// The type of securable object with which the new object is associated. /// The handle of the securable object with which the new object is associated. /// One of the enumeration values that specifies the sections of the security descriptor (access rules, audit rules, owner, primary group) of the securable object to include in this object. /// A delegate implemented by integrators that provides custom exceptions. /// An object that contains contextual information about the source or destination of the exception. // Token: 0x06002DB3 RID: 11699 RVA: 0x00093D90 File Offset: 0x00091F90 protected NativeObjectSecurity(bool isContainer, ResourceType resourceType, SafeHandle handle, AccessControlSections includeSections, NativeObjectSecurity.ExceptionFromErrorCode exceptionFromErrorCode, object exceptionContext) : this(isContainer, resourceType, handle, includeSections) { } /// Initializes a new instance of the class with the specified values. We recommend that the values of the parameters passed to the constructor and persist methods be identical. For more information, see Remarks. /// true if the new object is a container object. /// The type of securable object with which the new object is associated. /// The name of the securable object with which the new object is associated. /// One of the enumeration values that specifies the sections of the security descriptor (access rules, audit rules, owner, primary group) of the securable object to include in this object. /// A delegate implemented by integrators that provides custom exceptions. /// An object that contains contextual information about the source or destination of the exception. // Token: 0x06002DB4 RID: 11700 RVA: 0x00093DA0 File Offset: 0x00091FA0 protected NativeObjectSecurity(bool isContainer, ResourceType resourceType, string name, AccessControlSections includeSections, NativeObjectSecurity.ExceptionFromErrorCode exceptionFromErrorCode, object exceptionContext) : this(isContainer, resourceType, name, includeSections) { } /// Saves the specified sections of the security descriptor associated with this object to permanent storage. We recommend that the values of the parameters passed to the constructor and persist methods be identical. For more information, see Remarks. /// The handle of the securable object with which this object is associated. /// One of the enumeration values that specifies the sections of the security descriptor (access rules, audit rules, owner, primary group) of the securable object to save. /// The securable object with which this object is associated is either a directory or a file, and that directory or file could not be found. // Token: 0x06002DB5 RID: 11701 RVA: 0x00093DB0 File Offset: 0x00091FB0 protected sealed override void Persist(SafeHandle handle, AccessControlSections includeSections) { throw new NotImplementedException(); } /// Saves the specified sections of the security descriptor associated with this object to permanent storage. We recommend that the values of the parameters passed to the constructor and persist methods be identical. For more information, see Remarks. /// The name of the securable object with which this object is associated. /// One of the enumeration values that specifies the sections of the security descriptor (access rules, audit rules, owner, primary group) of the securable object to save. /// The securable object with which this object is associated is either a directory or a file, and that directory or file could not be found. // Token: 0x06002DB6 RID: 11702 RVA: 0x00093DB8 File Offset: 0x00091FB8 protected sealed override void Persist(string name, AccessControlSections includeSections) { throw new NotImplementedException(); } /// Saves the specified sections of the security descriptor associated with this object to permanent storage. We recommend that the values of the parameters passed to the constructor and persist methods be identical. For more information, see Remarks. /// The handle of the securable object with which this object is associated. /// One of the enumeration values that specifies the sections of the security descriptor (access rules, audit rules, owner, primary group) of the securable object to save. /// An object that contains contextual information about the source or destination of the exception. /// The securable object with which this object is associated is either a directory or a file, and that directory or file could not be found. // Token: 0x06002DB7 RID: 11703 RVA: 0x00093DC0 File Offset: 0x00091FC0 protected void Persist(SafeHandle handle, AccessControlSections includeSections, object exceptionContext) { throw new NotImplementedException(); } /// Saves the specified sections of the security descriptor associated with this object to permanent storage. We recommend that the values of the parameters passed to the constructor and persist methods be identical. For more information, see Remarks. /// The name of the securable object with which this object is associated. /// One of the enumeration values that specifies the sections of the security descriptor (access rules, audit rules, owner, primary group) of the securable object to save. /// An object that contains contextual information about the source or destination of the exception. /// The securable object with which this object is associated is either a directory or a file, and that directory or file could not be found. // Token: 0x06002DB8 RID: 11704 RVA: 0x00093DC8 File Offset: 0x00091FC8 protected void Persist(string name, AccessControlSections includeSections, object exceptionContext) { throw new NotImplementedException(); } /// Provides a way for integrators to map numeric error codes to specific exceptions that they create. /// The this delegate creates. /// The numeric error code. /// The name of the securable object with which the object is associated. /// The handle of the securable object with which the object is associated. /// An object that contains contextual information about the source or destination of the exception. // Token: 0x020006D1 RID: 1745 // (Invoke) Token: 0x060041CC RID: 16844 protected internal delegate Exception ExceptionFromErrorCode(int errorCode, string name, SafeHandle handle, object context); } }