BolterLibrary.InterProcessCom.CurrentDomain_DomainUnload C# (CSharp) Méthode

CurrentDomain_DomainUnload() static private méthode

static private CurrentDomain_DomainUnload ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void
        static void CurrentDomain_DomainUnload(object sender, EventArgs e)
        {
            Console.WriteLine("{0} Unloaded", ((AppDomain)sender).FriendlyName);
            GC.Collect();
            GC.WaitForPendingFinalizers();
        }