Expand Minimize

LoaderOptimization Enumeration

July 28, 2014

An enumeration used to specify loader optimizations for an executable.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

public enum LoaderOptimization

Member nameDescription
MultiDomainIndicates that the application will probably have many domains that use the same code, and the loader must share maximal internal resources across application domains.
MultiDomainHostIndicates 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.
NotSpecifiedIndicates 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.
SingleDomainIndicates 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

Windows Phone

Show:
© 2014 Microsoft