ActivatedClientTypeEntry Konstruktory

Definice

Inicializuje novou instanci ActivatedClientTypeEntry třídy.

Přetížení

Name Description
ActivatedClientTypeEntry(Type, String)

Inicializuje novou instanci ActivatedClientTypeEntry třídy s danou Type a aplikační adresou URL.

ActivatedClientTypeEntry(String, String, String)

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

ActivatedClientTypeEntry(Type, String)

Inicializuje novou instanci ActivatedClientTypeEntry třídy s danou Type a aplikační adresou 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)

Parametry

type
Type

Typ Type aktivovaného klienta.

appUrl
String

Adresa URL aplikace k aktivaci typu

Příklady

Následující příklad kódu ukazuje, jak sestavit 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 z parametru type .

Platí pro

ActivatedClientTypeEntry(String, String, String)

Inicializuje novou instanci ActivatedClientTypeEntry třídy s daným názvem 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 klienta.

assemblyName
String

Název sestavení aktivovaného typu klienta.

appUrl
String

Adresa URL aplikace k aktivaci typu

Platí pro