System (mscorlib.dll)enum

This enumeration is used for the LoaderOptimizationAttribute constructor. It specifies whether your application will use more than one AppDomain. Use the MultiDomain value if your application contains many domains that use the same code, and use MultiDomainHost if your application hosts multiple domains with unique codein which case resources are shared for globally available assemblies only. NotSpecified reverts to SingleDomain, unless the default domain or host specifies otherwise.

public enum LoaderOptimization {
   NotSpecified = 0,
   SingleDomain = 1,
   MultiDomain = 2,
   MultiDomainHost = 3,
   DomainMask = 3,
   DisallowBindings = 4


Object ValueType Enum(IComparable, IFormattable, IConvertible) LoaderOptimization

Returned By

AppDomainSetup.LoaderOptimization, LoaderOptimizationAttribute.Value

Passed To

AppDomainSetup.LoaderOptimization, LoaderOptimizationAttribute.LoaderOptimizationAttribute( )

    Part II: Programming with the .NET Framework
    Part IV: API Quick Reference
    Chapter 26. System