AccessControlMessages
AccessControlMessages.Instance (SystemMessages.AccessControl) contains message descriptions scraped from mscorlib.dll for System.Security.AccessControl.*.
Code | HResult | Field Name | Key | Text | Exception |
---|---|---|---|---|---|
0xA345000C | 0x80131516 | AclTooLong | mscorlib.AccessControl_AclTooLong | Length of the access control list exceed the allowed maximum. | System.OverflowException |
0xA345000D | 0x80070057 | InvalidAccessRuleType | mscorlib.AccessControl_InvalidAccessRuleType | The access rule is not the correct type. | System.ArgumentException |
0xA345000E | 0x80070057 | InvalidAuditRuleType | mscorlib.AccessControl_InvalidAuditRuleType | The audit rule is not the correct type. | System.ArgumentException |
0xA345000F | 0x80131509 | InvalidGroup | mscorlib.AccessControl_InvalidGroup | The security identifier is not allowed to be the primary group of this object. | System.InvalidOperationException |
0xA3450010 | 0x80070057 | InvalidHandle | mscorlib.AccessControl_InvalidHandle | The supplied handle is invalid. This can happen when trying to set an ACL on an anonymous kernel object. | System.ArgumentException |
0xA3450011 | 0x80131509 | InvalidOwner | mscorlib.AccessControl_InvalidOwner | The security identifier is not allowed to be the owner of this object. | System.InvalidOperationException |
0xA3450012 | 0x80131502 | InvalidSecurityDescriptorRevision | mscorlib.AccessControl_InvalidSecurityDescriptorRevision | Security descriptor with revision other than '1' are not legal. | System.ArgumentOutOfRangeException |
0xA3450013 | 0x80070057 | InvalidSecurityDescriptorSelfRelativeForm | mscorlib.AccessControl_InvalidSecurityDescriptorSelfRelativeForm | Security descriptor must be in the self-relative form. | System.ArgumentException |
0xA3450014 | 0x80070057 | InvalidSidInSDDLString | mscorlib.AccessControl_InvalidSidInSDDLString | The SDDL string contains an invalid sid or a sid that cannot be translated. | System.ArgumentException |
0xA3450015 | 0x80070057 | MustSpecifyContainerAcl | mscorlib.AccessControl_MustSpecifyContainerAcl | The named parameter must be a container ACL. | System.ArgumentException |
0xA3450016 | 0x80070057 | MustSpecifyDirectoryObjectAcl | mscorlib.AccessControl_MustSpecifyDirectoryObjectAcl | The named parameter must be a directory-object ACL. | System.ArgumentException |
0xA3450017 | 0x80070057 | MustSpecifyLeafObjectAcl | mscorlib.AccessControl_MustSpecifyLeafObjectAcl | The named parameter must be a non-container ACL. | System.ArgumentException |
0xA3450018 | 0x80070057 | MustSpecifyNonDirectoryObjectAcl | mscorlib.AccessControl_MustSpecifyNonDirectoryObjectAcl | The named parameter must be a non-directory-object ACL. | System.ArgumentException |
0xA3450019 | 0x80131515 | NoAssociatedSecurity | mscorlib.AccessControl_NoAssociatedSecurity | Unable to perform a security operation on an object that has no associated security. This can happen when trying to get an ACL of an anonymous kernel object. | System.NotSupportedException |
0xA345001A | 0x80131509 | UnexpectedError | mscorlib.AccessControl_UnexpectedError | Method failed with unexpected error code {0}. | System.InvalidOperationException |
0xA34504E7 | 0x80070005 | NotHeldDefault | mscorlib.PrivilegeNotHeld_Default | The process does not possess some privilege required for this operation. | System.Security.AccessControl.PrivilegeNotHeldException |
0xA34504E8 | 0x80070005 | NotHeldNamed | mscorlib.PrivilegeNotHeld_Named | The process does not possess the '{0}' privilege which is required for this operation. | System.Security.AccessControl.PrivilegeNotHeldException |
0xA3450603 | 0x80070005 | IODeniedNoPathName | mscorlib.UnauthorizedAccess_IODenied_NoPathName | Access to the path is denied. | System.UnauthorizedAccessException |
0xA3450604 | 0x80070005 | IODeniedPath | mscorlib.UnauthorizedAccess_IODenied_Path | Access to the path '{0}' is denied. | System.UnauthorizedAccessException |
0xA3450605 | 0x80070005 | MemStreamBuffer | mscorlib.UnauthorizedAccess_MemStreamBuffer | MemoryStream's internal buffer cannot be accessed. | System.UnauthorizedAccessException |
0xA3450606 | 0x80070005 | RegistryKeyGenericKey | mscorlib.UnauthorizedAccess_RegistryKeyGeneric_Key | Access to the registry key '{0}' is denied. | System.UnauthorizedAccessException |
0xA3450607 | 0x80070005 | RegistryNoWrite | mscorlib.UnauthorizedAccess_RegistryNoWrite | Cannot write to the registry key. | System.UnauthorizedAccessException |
0xA345073D | SystemDomain | mscorlib.UnauthorizedAccess_SystemDomain | Cannot execute an assembly in the system domain. |
This document is partially derived from work with following license.
/*This file is a derivate of a source file that has following license (below). ======================================================================== The MIT License (MIT) Copyright (c) Microsoft Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ======================================================================*/