Loads the assembly with a COFF based image containing an emitted assembly. The assembly is loaded into the domain of the caller. The raw bytes representing the symbols for the assembly are also loaded.
[Visual Basic] Overloads Public Shared Function Load( _ ByVal rawAssembly() As Byte, _ ByVal rawSymbolStore() As Byte _ ) As Assembly [C#] public static Assembly Load( byte[] rawAssembly, byte[] rawSymbolStore ); [C++] public: static Assembly* Load( unsigned char* rawAssembly[], unsigned char* rawSymbolStore[] ); [JScript] public static function Load( rawAssembly : Byte[], rawSymbolStore : Byte[] ) : Assembly;
The loaded assembly.
Exception Type | Condition |
---|---|
ArgumentNullException | if rawAssembly is a null reference (in Visual Basic Nothing). |
The assembly is loaded into the domain of the caller.
Assembly Class | Assembly Members | System.Reflection Namespace | Assembly.Load Overload List