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!

AppDomain.Load (String, Boolean)

Loads an Assembly given its display name. The Assembly may be shared.

[Visual Basic]
Overloads Public Function Load( _
   ByVal assemblyString As String, _
   ByVal shared As Boolean _
) As Assembly
[C#]
public Assembly Load(
   string assemblyString,
   bool shared
);
[C++]
public: Assembly* Load(
   String* assemblyString,
   bool shared
);
[JScript]
public function Load(
   assemblyString : String,
   shared : Boolean
) : Assembly;

Parameters

assemblyString
The display name of the Assembly.
shared
If true, the Assembly is loaded in a form where its JIT-compiled code can be reused by multiple application domains (at a slight cost in code quality).

Return Value

The loaded Assembly.

Exceptions

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

See Also

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