ClrObjectFactory.CreateFromAssembly(String, String, String) 方法

定义

使用程序集的配置文件,通过 .NET 远程处理激活远程程序集。

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

参数

AssemblyName
String

要激活的程序集的名称。

TypeName
String

要激活的类型的名称。

Mode
String

未使用。

返回

表示此类型的 Object 实例,其区域性、参数以及绑定和激活特性均设置为 null;如果找不到 TypeName 参数,将设置为 null

实现

例外

调用链中的调用方无权访问非托管代码。

类没有注册。

适用于