asp.net.ph

LoaderOptimizationAttribute Class

System Namespace


Used to set the default loader optimization policy for the process. Should only be set on the main method for an application. It is ignored on all other methods.

LoaderOptimizationAttribute Class Members

Collapse   Constructors

Visibility Constructor Parameters
public LoaderOptimizationAttribute ( Byte value )
public LoaderOptimizationAttribute ( LoaderOptimization value )

Collapse   Properties

Visibility Name Value Type Accessibility
public Value LoaderOptimization [ Get ]

Remarks

The loader can make optimizations to share internal resource across application domains, at a slight expense in static access speed. This attribute tells the loader what type of application to optimize for - SingleDomain, MultiDomain ( each domain running the same classes ), or MultiDomainHost ( multiple domains which may run different classes ).

This attribute is only a hint to the loader and doesn't affect program behavior.

See Also

LoaderOptimization Skip Navigation Links


Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note