PolicyMessages
PolicyMessages.Instance (SystemMessages.Policy) contains message descriptions scraped from mscorlib.dll for System.Security.Policy.*.
Code | HResult | Field Name | Key | Text | Exception |
---|---|---|---|---|---|
0xA34504CD | 0x80131509 | AppTrustMustGrantAppRequest | mscorlib.Policy_AppTrustMustGrantAppRequest | ApplicationTrust grant set does not contain ActivationContext's minimum request set. | System.InvalidOperationException |
0xA34504CE | 0x80070057 | BadXml | mscorlib.Policy_BadXml | Policy configuration XML is invalid. The required tag '{0}' is missing. | System.ArgumentException |
0xA34504CF | 0x80070057 | Default | mscorlib.Policy_Default | Error occurred while performing a policy operation. | System.ArgumentException |
0xA34504D0 | 0x80131509 | DuplicateEvidence | mscorlib.Policy_DuplicateEvidence | The evidence collection already contains evidence of type '{0}'. Multiple pieces of the same type of evidence are not allowed. | System.InvalidOperationException |
0xA34504D1 | 0x80070057 | EvidenceMustBeSerializable | mscorlib.Policy_EvidenceMustBeSerializable | Objects used as evidence must be serializable. | System.ArgumentException |
0xA34504D2 | 0x80131416 | GrantSetDoesNotMatchDomain | mscorlib.Policy_GrantSetDoesNotMatchDomain | An assembly was provided an invalid grant set by runtime host '{0}'. In a homogenous AppDomain, the only valid grant sets are FullTrust and the AppDomain's sandbox grant set. | System.Security.Policy.PolicyException |
0xA34504D3 | 0x80131509 | IncorrectHostEvidence | mscorlib.Policy_IncorrectHostEvidence | Runtime host '{0}' returned evidence of type '{1}' from a request for evidence of type '{2}'. | System.InvalidOperationException |
0xA34504D4 | 0x80070057 | MissingActivationContextInAppEvidence | mscorlib.Policy_MissingActivationContextInAppEvidence | The application evidence does not contain a Fusion activation context. | System.ArgumentException |
0xA34504D5 | 0x80131416 | MultipleExclusive | mscorlib.Policy_MultipleExclusive | More than one exclusive group is not allowed. | System.Security.Policy.PolicyException |
0xA34504D6 | 0x80131416 | NoExecutionPermission | mscorlib.Policy_NoExecutionPermission | Execution permission cannot be acquired. | System.Security.Policy.PolicyException |
0xA34504D7 | 0x80131416 | NonFullTrustAssembly | mscorlib.Policy_NonFullTrustAssembly | Policy references an assembly not in the full trust assemblies list. | System.Security.Policy.PolicyException |
0xA34504D8 | 0x80131416 | NoRequiredPermission | mscorlib.Policy_NoRequiredPermission | Required permissions cannot be acquired. | System.Security.Policy.PolicyException |
0xA34504D9 | 0x80131416 | NoTrustManager | mscorlib.Policy_NoTrustManager | A trust manager could not be loaded for this application. | System.Security.Policy.PolicyException |
0xA34504DA | 0x80131509 | NullHostEvidence | mscorlib.Policy_NullHostEvidence | Runtime host '{0}' returned null when asked for assembly evidence for assembly '{1}'. | System.InvalidOperationException |
0xA34504DB | 0x80131416 | NullHostGrantSet | mscorlib.Policy_NullHostGrantSet | Runtime host '{0}' returned a null grant set from ResolvePolicy. | System.Security.Policy.PolicyException |
0xA34504DC | 0x80070057 | PLAppDomain | mscorlib.Policy_PL_AppDomain | AppDomain | System.ArgumentException |
0xA34504DD | 0x80070057 | PLEnterprise | mscorlib.Policy_PL_Enterprise | Enterprise | System.ArgumentException |
0xA34504DE | 0x80070057 | PLMachine | mscorlib.Policy_PL_Machine | Machine | System.ArgumentException |
0xA34504DF | 0x80070057 | PLUser | mscorlib.Policy_PL_User | User | System.ArgumentException |
0xA34504E0 | 0x80131416 | PolicyAlreadySet | mscorlib.Policy_PolicyAlreadySet | Policy for this domain cannot be set twice. | System.Security.Policy.PolicyException |
0xA34504E1 | 0x80131416 | PrincipalTwice | mscorlib.Policy_PrincipalTwice | Default principal object cannot be set twice. | System.Security.Policy.PolicyException |
0xA34504E2 | 0x80131416 | RecoverNoConfigFile | mscorlib.Policy_RecoverNoConfigFile | No old configuration file exists to recover. | System.Security.Policy.PolicyException |
0xA34504E3 | 0x80131416 | RecoverNotFileBased | mscorlib.Policy_RecoverNotFileBased | PolicyLevel object not based on a file cannot be recovered. | System.Security.Policy.PolicyException |
0xA34504E4 | 0x80131416 | UnableToSave | mscorlib.Policy_UnableToSave | Policy level '{0}' could not be saved: {1}. | System.Security.Policy.PolicyException |
0xA3450705 | 0x80131416 | FileParse | mscorlib.Error_SecurityPolicyFileParse | Error occurred while parsing the '{0}' policy level. The default policy level was used instead. | System.Security.Policy.PolicyException |
0xA3450706 | 0x80131416 | FileParseEx | mscorlib.Error_SecurityPolicyFileParseEx | Error '{1}' occurred while parsing the '{0}' policy level. The default policy level was used instead. | System.Security.Policy.PolicyException |
0xA3450708 | 0x80131416 | AllCodeDescriptionFullTrust | mscorlib.Policy_AllCode_DescriptionFullTrust | Code group grants all code full trust and forms the root of the code group tree. | System.Security.Policy.PolicyException |
0xA3450709 | 0x80131416 | AllCodeDescriptionNothing | mscorlib.Policy_AllCode_DescriptionNothing | Code group grants no permissions and forms the root of the code group tree. | System.Security.Policy.PolicyException |
0xA3450707 | 0x80131416 | AllCodeName | mscorlib.Policy_AllCode_Name | All_Code | System.Security.Policy.PolicyException |
0xA3450703 | 0x80131416 | CannotLoadSemiTrustAssembliesDuringInit | mscorlib.Policy_CannotLoadSemiTrustAssembliesDuringInit | All assemblies loaded as part of AppDomain initialization must be fully trusted. | System.Security.Policy.PolicyException |
0xA345071F | 0x80131416 | EcmaDescription | mscorlib.Policy_Ecma_Description | Code group grants full trust to code signed with the ECMA strong name. | System.Security.Policy.PolicyException |
0xA345071E | 0x80131416 | EcmaName | mscorlib.Policy_Ecma_Name | ECMA_Strong_Name | System.Security.Policy.PolicyException |
0xA3450715 | 0x80131416 | InternetNetDescription | mscorlib.Policy_InternetNet_Description | All Internet code gets the right to connect back to the site of its origin. | System.Security.Policy.PolicyException |
0xA3450714 | 0x80131416 | InternetNetName | mscorlib.Policy_InternetNet_Name | Internet_Same_Site_Access | System.Security.Policy.PolicyException |
0xA3450713 | 0x80131416 | InternetDescription | mscorlib.Policy_Internet_Description | Code group grants code from the Internet zone the Internet permission set. This permission set grants Internet code the right to use isolated storage and limited UI access. | System.Security.Policy.PolicyException |
0xA3450712 | 0x80131416 | InternetName | mscorlib.Policy_Internet_Name | Internet_Zone | System.Security.Policy.PolicyException |
0xA3450711 | 0x80131416 | IntranetFileDescription | mscorlib.Policy_IntranetFile_Description | All intranet code gets the right to read from its install directory. | System.Security.Policy.PolicyException |
0xA3450710 | 0x80131416 | IntranetFileName | mscorlib.Policy_IntranetFile_Name | Intranet_Same_Directory_Access | System.Security.Policy.PolicyException |
0xA345070F | 0x80131416 | IntranetNetDescription | mscorlib.Policy_IntranetNet_Description | All intranet code gets the right to connect back to the site of its origin. | System.Security.Policy.PolicyException |
0xA345070E | 0x80131416 | IntranetNetName | mscorlib.Policy_IntranetNet_Name | Intranet_Same_Site_Access | System.Security.Policy.PolicyException |
0xA345070D | 0x80131416 | IntranetDescription | mscorlib.Policy_Intranet_Description | Code group grants the intranet permission set to code from the intranet zone. This permission set grants intranet code the right to use isolated storage, full UI access, some capability to do reflection, and limited access to environment variables. | System.Security.Policy.PolicyException |
0xA345070C | 0x80131416 | IntranetName | mscorlib.Policy_Intranet_Name | LocalIntranet_Zone | System.Security.Policy.PolicyException |
0xA345071D | 0x80131416 | MicrosoftDescription | mscorlib.Policy_Microsoft_Description | Code group grants full trust to code signed with the Microsoft strong name. | System.Security.Policy.PolicyException |
0xA345071C | 0x80131416 | MicrosoftName | mscorlib.Policy_Microsoft_Name | Microsoft_Strong_Name | System.Security.Policy.PolicyException |
0xA345070B | 0x80131416 | MyComputerDescription | mscorlib.Policy_MyComputer_Description | Code group grants full trust to all code originating on the local computer | System.Security.Policy.PolicyException |
0xA345070A | 0x80131416 | MyComputerName | mscorlib.Policy_MyComputer_Name | My_Computer_Zone | System.Security.Policy.PolicyException |
0xA3450721 | 0x80131416 | PSEverything | mscorlib.Policy_PS_Everything | Allows unrestricted access to all resources covered by built-in permissions | System.Security.Policy.PolicyException |
0xA3450723 | 0x80131416 | PSExecution | mscorlib.Policy_PS_Execution | Permits execution | System.Security.Policy.PolicyException |
0xA3450720 | 0x80131416 | PSFullTrust | mscorlib.Policy_PS_FullTrust | Allows full access to all resources | System.Security.Policy.PolicyException |
0xA3450725 | 0x80131416 | PSInternet | mscorlib.Policy_PS_Internet | Default rights given to Internet applications | System.Security.Policy.PolicyException |
0xA3450726 | 0x80131416 | PSLocalIntranet | mscorlib.Policy_PS_LocalIntranet | Default rights given to applications on the local intranet | System.Security.Policy.PolicyException |
0xA3450722 | 0x80131416 | PSNothing | mscorlib.Policy_PS_Nothing | Denies all resources, including the right to execute | System.Security.Policy.PolicyException |
0xA3450724 | 0x80131416 | PSSkipVerification | mscorlib.Policy_PS_SkipVerification | Grants right to bypass the verification | System.Security.Policy.PolicyException |
0xA3450704 | 0x80131416 | SaveNotFileBased | mscorlib.Policy_SaveNotFileBased | PolicyLevel object not based on a file cannot be saved. | System.Security.Policy.PolicyException |
0xA3450719 | 0x80131416 | TrustedNetDescription | mscorlib.Policy_TrustedNet_Description | All Trusted Code gets the right to connect back to the site of its origin. | System.Security.Policy.PolicyException |
0xA3450718 | 0x80131416 | TrustedNetName | mscorlib.Policy_TrustedNet_Name | Trusted_Same_Site_Access | System.Security.Policy.PolicyException |
0xA3450717 | 0x80131416 | TrustedDescription | mscorlib.Policy_Trusted_Description | Code from a trusted zone is granted the Internet permission set. This permission set grants the right to use isolated storage and limited UI access. | System.Security.Policy.PolicyException |
0xA3450716 | 0x80131416 | TrustedName | mscorlib.Policy_Trusted_Name | Trusted_Zone | System.Security.Policy.PolicyException |
0xA345071B | 0x80131416 | UntrustedDescription | mscorlib.Policy_Untrusted_Description | Code coming from a restricted zone does not receive any permissions. | System.Security.Policy.PolicyException |
0xA345071A | 0x80131416 | UntrustedName | mscorlib.Policy_Untrusted_Name | Restricted_Zone | System.Security.Policy.PolicyException |
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. ======================================================================*/