語言

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

定義

透過 .NET 遠端存取,使用組件的設定檔來啟動遠端組裝裝置。

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

參數

assembly
String

啟動的集合名稱。

type
String

要啟動的類型名稱。

mode
String

未使用。

傳回

代表該型別的 實 Object 例,且 文化、參數、綁定與啟動屬性皆設為 null,若 null 未找到參數 type 則為 。

例外狀況

呼叫鏈中的呼叫者沒有權限存取非管理程式碼。

該課程未註冊。

適用於