Name
LoaderOptimizationAttribute
Synopsis
This attribute can only be used on your application’s
Main
method. It sets the type of
default
optimization used to share internal resources across application
domains. It is most relevant when you use the
AppDomain
class to create more than
one domain from your application. By default, if you do not use
this attribute, the .NET Framework makes optimizations
with the assumption that your application has only a single domain.
public sealed class LoaderOptimizationAttribute : Attribute { // Public Constructors public method LoaderOptimizationAttribute(byte value); public method LoaderOptimizationAttribute( LoaderOptimization value); // Public Instance Properties public field LoaderOptimization Value{get; } }
Hierarchy
Object→Attribute→LoaderOptimizationAttribute
Valid On
Method
Get C# in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.