Summary


The System.AppDomainSetup class has several properties you can use to customize the behavior of the application domains you create. Some of these properties you'll use almost every time you create an application domain, whereas some of the properties are for situations esoteric enough that you'll likely never use them. The most common AppDomainSetup property used is the ApplicationBase. ApplicationBase specifies a root directory that is used to find all assemblies that are private to your application domain. Application domains are customized by setting the properties on an instance of AppDomainSetup and passing that instance to AppDomain.CreateDomain.

Application domain managers also play a key role in application domain customization. The CLR calls your application domain manager implementation at various points during the creation of an application domain. These interception points give you an opportunity to set the AppDomainSetup parameters, load assemblies into the new application domain, and perform other customizations specific to your application.



    Customizing the Microsoft  .NET Framework Common Language Runtime
    Customizing the Microsoft .NET Framework Common Language Runtime
    ISBN: 735619883
    EAN: N/A
    Year: 2005
    Pages: 119

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net