IComSoapPublisher.ProcessServerTlb Método

Definición

Procesa una biblioteca de tipos de servidor y agrega o elimina entradas de componente a los archivos Web.config y Default.disco. Genera un proxy si es necesario.

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)

Parámetros

ProgId
String

El identificador de programación de la clase.

SrcTlbPath
String

Ruta de acceso al archivo que contiene la biblioteca de tipos.

PhysicalPath
String

Directorio de la aplicación Web.

Operation
String

Operación que se va a realizar.

AssemblyName
String

Cuando este método finaliza, este parámetro contiene el nombre para mostrar del ensamblado.

TypeName
String

Cuando este método finaliza, este parámetro contiene el nombre de tipo completo del ensamblado.

Error
String

Cuando se devuelve el valor del método, este parámetro contiene un mensaje de error si se detecta un problema.

Excepciones

Un llamador de la cadena de llamadas no tiene permiso para obtener acceso al código no administrado.

Archivo scrobj.dll al que hace referencia el parámetro SrcTlbPath; por tanto, no se admite la publicación SOAP de los componentes de scripts.

Comentarios

Genera Web.config y entradas de archivo Default.disco para componentes COM+. Genera un proxy si es necesario.

Se recomienda que AddServerTlb y DeleteServerTlb se usen en lugar de ProcessServerTlb.

Se aplica a