Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
A PolicyException exception is thrown when policy forbids code to run.
Associated Tips
- Check to determine if the code requests more permissions than the policy will grant or the policy is configured to prohibit running the code.
Security policy is set with SetAppDomainPolicy.
- Check to determine whether the security policy has been already set.
For more information, see Administering Security Policy.
See Also
Tasks
How to: Find Out More About an Exception with the Exception Assistant
How to: Perform Common Security Policy Tasks Using the .NET Framework Configuration Tool (Mscorcfg.msc)
How to: Administer Security Policy for Nondefault Users Using Caspol.exe
How to: Return to the Default Security Policy Settings Using Caspol.exe