Sdílet prostřednictvím


ActivatedClientTypeEntry Konstruktory

Definice

Inicializuje novou instanci ActivatedClientTypeEntry třídy.

Přetížení

ActivatedClientTypeEntry(Type, String)

Inicializuje novou instanci ActivatedClientTypeEntry třídy s danou Type a adresou URL aplikace.

ActivatedClientTypeEntry(String, String, String)

Inicializuje novou instanci ActivatedClientTypeEntry třídy s názvem daného typu, názvem sestavení a adresou URL aplikace.

ActivatedClientTypeEntry(Type, String)

Inicializuje novou instanci ActivatedClientTypeEntry třídy s danou Type a adresou URL aplikace.

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)

Parametry

type
Type

Typ Type aktivovaného klientem.

appUrl
String

Adresa URL aplikace pro aktivaci typu v.

Příklady

Následující příklad kódu ukazuje, jak vytvořit 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")

Poznámky

Název sestavení typu je odvozen od parametru type .

Platí pro

ActivatedClientTypeEntry(String, String, String)

Inicializuje novou instanci ActivatedClientTypeEntry třídy s názvem daného typu, názvem sestavení a adresou URL aplikace.

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)

Parametry

typeName
String

Název typu aktivovaného klientem.

assemblyName
String

Název sestavení typu aktivovaného klientem.

appUrl
String

Adresa URL aplikace pro aktivaci typu v.

Platí pro