IClrObjectFactory.CreateFromAssembly(String, String, String) Method

Definition

Activates a remote assembly through .NET remoting, using the assembly's configuration file.

public:
 System::Object ^ CreateFromAssembly(System::String ^ assembly, System::String ^ type, System::String ^ mode);
public object CreateFromAssembly (string assembly, string type, string mode);
abstract member CreateFromAssembly : string * string * string -> obj
Public Function CreateFromAssembly (assembly As String, type As String, mode As String) As Object

Parameters

assembly
String

The name of the assembly to activate.

type
String

The name of the type to activate.

mode
String

Not used.

Returns

An instance of the Object representing the type, with culture, arguments, and binding and activation attributes set to null, or null if the type parameter is not found.

Exceptions

A caller in the call chain does not have permission to access unmanaged code.

The class is not registered.

Applies to