IComSoapPublisher.ProcessServerTlb Méthode

Définition

Traite une bibliothèque de types de serveur, en ajoutant ou en supprimant des entrées de composant aux 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 de l’application web.

Operation
String

Opération à effectuer.

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 de type complet de l’assembly.

Error
String

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

Exceptions

Un appelant de la chaîne d’appels n’a pas l’autorisation d’accéder au code non managé.

Le SrcTlbPath paramètre référencé 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 non pas .ProcessServerTlb

S’applique à