ActivatedClientTypeEntry Konstruktory
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
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
- 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.