LoaderOptimization Enumeration

[ 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.

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

Syntax

Public Enumeration LoaderOptimization
public enum LoaderOptimization

Members

Member name Description
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.

Remarks

This enumeration is not used in Windows Phone apps..

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

System Namespace