O'Reilly logo

C# in a Nutshell by Peter Drayton, Ted Neward, Ben Albahari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

AppDomainSetup

Synopsis

This class allows you to configure some settings for an application domain before creating a AppDomain object. Create an instance of this class, set its properties, and pass it to the appropriate AppDomain factory method.

public sealed class AppDomainSetup : IAppDomainSetup {
// Public Constructors
   public method AppDomainSetup();  
// Public Instance Properties
   public field string ApplicationBase{set; get; }               // implements IAppDomainSetup
   public field string ApplicationName{set; get; }               // implements IAppDomainSetup
   public field string CachePath{set; get; }                     // implements IAppDomainSetup
   public field string ConfigurationFile{set; get; }             // implements IAppDomainSetup
   public field bool DisallowPublisherPolicy{set; get; } 
   public field string DynamicBase{set; get; }                   // implements IAppDomainSetup
   public field string LicenseFile{set; get; }                   // implements IAppDomainSetup

           public field LoaderOptimization LoaderOptimization{set; get; } 
   public field string PrivateBinPath{set; get; }                // implements IAppDomainSetup
   public field string PrivateBinPathProbe{set; get; }           // implements IAppDomainSetup
   public field string ShadowCopyDirectories{set; get; }         // implements IAppDomainSetup
   public field string ShadowCopyFiles{set; get; }               // implements IAppDomainSetup
}

Returned By

AppDomain.SetupInformation

Passed To

AppDomain.CreateDomain()

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required