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.LoadFrom (String)

Loads an assembly given its file name.

[Visual Basic]
Overloads Public Shared Function LoadFrom( _
   ByVal assemblyFile As String _
) As Assembly
[C#]
public static Assembly LoadFrom(
   string assemblyFile
);
[C++]
public: static Assembly* LoadFrom(
   String* assemblyFile
);
[JScript]
public static function LoadFrom(
   assemblyFile : String
) : Assembly;

Parameters

assemblyFile
The name of the file that contains the manifest of the assembly.

Return Value

The loaded assembly.

Exceptions

Exception Type Condition
ArgumentNullException if assemblyFile is a null reference (in Visual Basic Nothing)
FileNotFoundException if assemblyFile is not found

Remarks

The assembly is loaded into the domain of the caller.

See Also

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