Muokkaa

Jaa


ClrObjectFactory.CreateFromAssembly(String, String, String) Method

Definition

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

public:
 virtual System::Object ^ CreateFromAssembly(System::String ^ AssemblyName, System::String ^ TypeName, System::String ^ Mode);
public object CreateFromAssembly (string AssemblyName, string TypeName, string Mode);
abstract member CreateFromAssembly : string * string * string -> obj
override this.CreateFromAssembly : string * string * string -> obj
Public Function CreateFromAssembly (AssemblyName As String, TypeName As String, Mode As String) As Object

Parameters

AssemblyName
String

The name of the assembly to activate.

TypeName
String

The name of the type to activate.

Mode
String

Not used.

Returns

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

Implements

Exceptions

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

The class is not registered.

Applies to