Name

LoaderOptimizationAttribute

Synopsis

This attribute can be used only 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 NotInheritable Class LoaderOptimizationAttribute : Inherits Attribute
' Public Constructors
   Public Sub New( ByVal value As Byte) 
   Public Sub New( ByVal value As LoaderOptimization) 
' Public Instance Properties
   Public ReadOnly Property Value As LoaderOptimization  
End Class

Hierarchy

ObjectAttribute LoaderOptimizationAttribute

Valid On

Method

Get VB.NET Core Classes 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.