ActivatedClientTypeEntry Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Initialise une nouvelle instance de la classe ActivatedClientTypeEntry.
Surcharges
| Nom | Description |
|---|---|
| ActivatedClientTypeEntry(Type, String) |
Initialise une nouvelle instance de la classe avec l’URL donnée ActivatedClientTypeEntry et l’URL de l’applicationType. |
| ActivatedClientTypeEntry(String, String, String) |
Initialise une nouvelle instance de la classe avec le nom de type, le nom d’assembly et l’URL de l’application ActivatedClientTypeEntry donnés. |
ActivatedClientTypeEntry(Type, String)
Initialise une nouvelle instance de la classe avec l’URL donnée ActivatedClientTypeEntry et l’URL de l’applicationType.
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)
Paramètres
- appUrl
- String
URL de l’application pour activer le type dans.
Exemples
L’exemple de code suivant montre comment construire un 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")
Remarques
Le nom de l’assembly du type est dérivé du type paramètre.
S’applique à
ActivatedClientTypeEntry(String, String, String)
Initialise une nouvelle instance de la classe avec le nom de type, le nom d’assembly et l’URL de l’application ActivatedClientTypeEntry donnés.
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)
Paramètres
- typeName
- String
Nom de type du type activé par le client.
- assemblyName
- String
Nom de l’assembly du type activé par le client.
- appUrl
- String
URL de l’application pour activer le type dans.