Share via


IComSoapPublisher.ProcessServerTlb Méthode

Définition

Traite une bibliothèque de types serveur, en ajoutant ou en supprimant des entrées de composants dans les fichiers Web.config et Default.disco. Génère un proxy si nécessaire.

public:
 void ProcessServerTlb(System::String ^ ProgId, System::String ^ SrcTlbPath, System::String ^ PhysicalPath, System::String ^ Operation, [Runtime::InteropServices::Out] System::String ^ % AssemblyName, [Runtime::InteropServices::Out] System::String ^ % TypeName, [Runtime::InteropServices::Out] System::String ^ % Error);
public void ProcessServerTlb (string ProgId, string SrcTlbPath, string PhysicalPath, string Operation, out string AssemblyName, out string TypeName, out string Error);
abstract member ProcessServerTlb : string * string * string * string * string * string * string -> unit
Public Sub ProcessServerTlb (ProgId As String, SrcTlbPath As String, PhysicalPath As String, Operation As String, ByRef AssemblyName As String, ByRef TypeName As String, ByRef Error As String)

Paramètres

ProgId
String

Identificateur programmatique de la classe.

SrcTlbPath
String

Chemin d'accès du fichier qui contient la bibliothèque de types.

PhysicalPath
String

Répertoire d'applications Web.

Operation
String

Opération à exécuter.

AssemblyName
String

Lorsque cette méthode est retournée, ce paramètre contient le nom complet de l'assembly.

TypeName
String

Lorsque cette méthode est retournée, ce paramètre contient le nom qualifié complet de l'assembly.

Error
String

Lorsque cette méthode est retournée, le paramètre contient un message d'erreur si un problème a été rencontré.

Exceptions

Un appelant dans la chaîne d'appel ne dispose pas de l'autorisation requise pour accéder à du code non managé.

Le paramètre SrcTlbPath référençait scrobj.dll ; par conséquent, la publication SOAP des composants de script n'est pas prise en charge.

Remarques

Génère des entrées de fichier Web.config et Default.disco pour les composants COM+. Génère un proxy si nécessaire.

Il est recommandé d’utiliser AddServerTlb et DeleteServerTlb au lieu de ProcessServerTlb.

S’applique à