Assembly.ReflectionOnlyLoad Method (Byte)
Assembly: mscorlib (in mscorlib.dll)
An array of type byte that is a COFF-based image containing an emitted assembly.
Return ValueAn Assembly object that represents the loaded assembly.
rawAssembly is a null reference (Nothing in Visual Basic).
rawAssembly is not a valid assembly.
Version 2.0 or later of the common language runtime is currently loaded and rawAssembly was compiled with a later version.
rawAssembly cannot be loaded.
You cannot execute code from an assembly loaded into the reflection-only context. To execute code, the assembly must be loaded into the execution context as well, using the Load method.
The reflection-only context is no different from other contexts. Assemblies that are loaded into the context can be unloaded only by unloading the application domain.
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter EditionThe Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.