I have created an AppDomain in my application. Below is the code I have used
AppDomainSetup domaininfo = new AppDomainSetup();
domaininfo.ApplicationBase = "C:\\";
AppDomain domain = AppDomain.CreateDomain("MyDomain", null, domaininfo);
ActivationContext context = domain.ActivationContext;
But the ActivationContext
is null
in above snippet. Can anyone help me on this. Thanks in Advance.