LoaderOptimization Enumeration

Microsoft Silverlight will reach end of support after October 2021. Learn more.

An enumeration used to specify loader optimizations for an executable.

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

Syntax

'Declaration
<ComVisibleAttribute(True)> _
Public Enumeration LoaderOptimization
[ComVisibleAttribute(true)]
public enum LoaderOptimization

Members

Member name Description
Supported by Silverlight for Windows PhoneSupported by Xbox 360 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.
Supported by Silverlight for Windows PhoneSupported by Xbox 360 SingleDomain Indicates that the application will probably have a single domain, and loader must not share internal resources across application domains.
Supported by Silverlight for Windows PhoneSupported by Xbox 360 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.
Supported by Silverlight for Windows PhoneSupported by Xbox 360 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.

Remarks

This enumeration is not used in Silverlight-based applications.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

See Also

Reference