Last active
August 29, 2015 14:02
-
-
Save Fhernd/ff9a69eedde484ca87af to your computer and use it in GitHub Desktop.
Intento de descarga de dominio de aplicación anfitrión en C#.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace Recetas.Cap03 | |
{ | |
internal class DescargarAppDomainAnfitrion | |
{ | |
public static void Main() | |
{ | |
AppDomain appDomainAnfitrion = AppDomain.CurrentDomain; | |
// Genera la excepción `System.CannotUnloadAppDomainException`: | |
AppDomain.Unload(appDomainAnfitrion); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment