[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
An enumeration used to specify loader optimizations for an executable.
Assembly: mscorlib (in mscorlib.dll)
Public Enumeration LoaderOptimization
public enum LoaderOptimization
|MultiDomain||Indicates that the application will probably have many domains that use the same code, and the loader must share maximal internal resources across application domains.|
|MultiDomainHost||Indicates that the application will probably host unique code in multiple domains, and the loader must share resources across application domains only for globally available (strong-named) assemblies that have been added to the global assembly cache.|
|NotSpecified||Indicates that no optimizations for sharing internal resources are specified. If the default domain or hosting interface specified an optimization, then the loader uses that; otherwise, the loader uses SingleDomain.|
|SingleDomain||Indicates that the application will probably have a single domain, and loader must not share internal resources across application domains.|
This enumeration is not used in Windows Phone apps..
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0