Export (0) Print
Expand All

AppDomain.Load Method (String)

.NET Framework 1.1

Loads an Assembly given its display name.

[Visual Basic]
Overloads Public Overridable Function Load( _
   ByVal assemblyString As String _
) As Assembly Implements _AppDomain.Load
public virtual Assembly Load(
 string assemblyString
public: virtual Assembly* Load(
 String* assemblyString
public function Load(
   assemblyString : String
) : Assembly;


The display name of the assembly.

Return Value

The loaded assembly.




Exception Type Condition
ArgumentNullException assemblyString is a null reference (Nothing in Visual Basic)
FileNotFoundException assemblyString is not found.
BadImageFormatException assemblyString is not a valid assembly.
AppDomainUnloadedException Operations are attempted on an unloaded application domain.
SecurityException The caller does not have the correct permissions. See the requirements section.


For more information, see the Remarks section of the AppDomain.Load Method (AssemblyName) topic.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

AppDomain Class | AppDomain Members | System Namespace | AppDomain.Load Overload List

© 2014 Microsoft