FriendlyName : AppDomain « Development Class « C# / C Sharp






FriendlyName

 

using System;
using System.Collections.Generic;
using System.Text;

class Program {
    static void Main(string[] args) {
        AppDomain currentDomain = AppDomain.CurrentDomain;
        Console.WriteLine(currentDomain.FriendlyName);
        AppDomain secondDomain = AppDomain.CreateDomain("New AppDomain");
        secondDomain.CreateInstance("AssemblyA", "AppDomains.Demo", true,System.Reflection.BindingFlags.CreateInstance, null, new object[] { 7, 3 }, null, null, null);
    }
}

 








Related examples in the same category

1.AppDomain.CreateDomain
2.SetData, GetData
3.Configure the AppDomainSetup
4.SetPrincipalPolicy
5.creates three instances of the same type. A local and two remote proxies to object instances are constructed:
6.OnUnhandledException method is added to the AppDomain.UnhandledException event