3.2. Create an Application Domain
Problem
You need to create a new application domain.
Solution
Use the Shared method CreateDomain of the System.AppDomain class.
How It Works
The simplest overload of the CreateDomain method takes a single String argument specifying a human-readable name (friendly name) for the new application domain. Other overloads allow you to specify evidence and configuration settings for the new application domain. Evidence refers to information, such as a strong name or application path, that is used by the CLR when making security decisions. You specify evidence using a System.Security.Policy.Evidence object, and you specify configuration settings using a System.AppDomainSetup object.
The AppDomainSetup class is a container ...
Get Visual Basic 2008 Recipes: A Problem-Solution Approach now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.