SoapServerTlb.AddServerTlb Méthode
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.
Ajoute les entrées d’une bibliothèque de types de serveur aux fichiers Web.config et Default.disco, en fonction des options de sécurité et génère un proxy si nécessaire.
public:
virtual void AddServerTlb(System::String ^ progId, System::String ^ classId, System::String ^ interfaceId, System::String ^ srcTlbPath, System::String ^ rootWebServer, System::String ^ inBaseUrl, System::String ^ inVirtualRoot, System::String ^ clientActivated, System::String ^ wellKnown, System::String ^ discoFile, System::String ^ operation, [Runtime::InteropServices::Out] System::String ^ % strAssemblyName, [Runtime::InteropServices::Out] System::String ^ % typeName);
public void AddServerTlb(string progId, string classId, string interfaceId, string srcTlbPath, string rootWebServer, string inBaseUrl, string inVirtualRoot, string clientActivated, string wellKnown, string discoFile, string operation, out string strAssemblyName, out string typeName);
abstract member AddServerTlb : string * string * string * string * string * string * string * string * string * string * string * string * string -> unit
override this.AddServerTlb : string * string * string * string * string * string * string * string * string * string * string * string * string -> unit
Public Sub AddServerTlb (progId As String, classId As String, interfaceId As String, srcTlbPath As String, rootWebServer As String, inBaseUrl As String, inVirtualRoot As String, clientActivated As String, wellKnown As String, discoFile As String, operation As String, ByRef strAssemblyName As String, ByRef typeName As String)
Paramètres
- progId
- String
Identificateur programmatique de la classe.
- classId
- String
Identificateur de classe (CLSID) pour la bibliothèque de types.
- interfaceId
- String
IID de la bibliothèque de types.
- srcTlbPath
- String
Chemin d’accès du fichier contenant la bibliothèque de types.
- rootWebServer
- String
Serveur web racine.
- inBaseUrl
- String
URL de base qui contient la racine virtuelle.
- inVirtualRoot
- String
Nom de la racine virtuelle.
- clientActivated
- String
true si le client est activé ; sinon, false.
- wellKnown
- String
true si bien connu ; sinon, false.
- discoFile
- String
true si un fichier de découverte ; sinon, false.
- operation
- String
Opération à effectuer. Spécifiez « delete » ou une chaîne vide.
- strAssemblyName
- String
Lorsque cette méthode est retournée, contient le nom de l’assembly.
- typeName
- String
Lorsque cette méthode est retournée, contient le type de l’assembly.
Implémente
Exceptions
Un appelant de la chaîne d’appels n’a pas l’autorisation d’accéder au code non managé.
L’utilitaire SOAP n’est pas disponible.
Échec de l’appel pour obtenir le répertoire système.