NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Assembly.Load (Byte[], Byte[])

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;

Parameters

rawAssembly
COFF based image containing an emitted assembly.
rawSymbolStore
The raw bytes representing the symbols for the assembly.

Return Value

The loaded assembly.

Exceptions

Exception Type Condition
ArgumentNullException if rawAssembly is a null reference (in Visual Basic Nothing).

Remarks

The assembly is loaded into the domain of the caller.

See Also

Assembly Class | Assembly Members | System.Reflection Namespace | Assembly.Load Overload List