ActivatedClientTypeEntry 建構函式

定義

初始化 ActivatedClientTypeEntry 類別的新執行個體。

多載

名稱 Description
ActivatedClientTypeEntry(Type, String)

初始化一個新的類別實例 ActivatedClientTypeEntry ,使用給定 Type 的 和 應用程式 URL。

ActivatedClientTypeEntry(String, String, String)

初始化一個新的類別實例 ActivatedClientTypeEntry ,使用給定的類型名稱、組合名稱及應用程式 URL。

ActivatedClientTypeEntry(Type, String)

初始化一個新的類別實例 ActivatedClientTypeEntry ,使用給定 Type 的 和 應用程式 URL。

public:
 ActivatedClientTypeEntry(Type ^ type, System::String ^ appUrl);
public ActivatedClientTypeEntry(Type type, string appUrl);
new System.Runtime.Remoting.ActivatedClientTypeEntry : Type * string -> System.Runtime.Remoting.ActivatedClientTypeEntry
Public Sub New (type As Type, appUrl As String)

參數

type
Type

Type是客戶端啟用型態的。

appUrl
String

啟用輸入的應用程式網址。

範例

以下程式碼範例說明如何構造一個 ActivatedClientTypeEntry

// Create activated client type entry.
ActivatedClientTypeEntry^ activatedClientTypeEntry = gcnew ActivatedClientTypeEntry( HelloServer::typeid, "tcp://localhost:8082" );
// Create activated client type entry.
ActivatedClientTypeEntry myActivatedClientTypeEntry =
    new ActivatedClientTypeEntry(typeof(HelloServer),
    "tcp://localhost:8082");
' Create activated client type entry.
Dim myActivatedClientTypeEntry As _
    New ActivatedClientTypeEntry(GetType(HelloServer), _
    "tcp://localhost:8082")

備註

該類型的組合名稱即由 type 參數推導而來。

適用於

ActivatedClientTypeEntry(String, String, String)

初始化一個新的類別實例 ActivatedClientTypeEntry ,使用給定的類型名稱、組合名稱及應用程式 URL。

public:
 ActivatedClientTypeEntry(System::String ^ typeName, System::String ^ assemblyName, System::String ^ appUrl);
public ActivatedClientTypeEntry(string typeName, string assemblyName, string appUrl);
new System.Runtime.Remoting.ActivatedClientTypeEntry : string * string * string -> System.Runtime.Remoting.ActivatedClientTypeEntry
Public Sub New (typeName As String, assemblyName As String, appUrl As String)

參數

typeName
String

用戶端啟用的類型名稱。

assemblyName
String

用戶端啟用型別的組合名稱。

appUrl
String

啟用輸入的應用程式網址。

適用於