Edit

Share via


IComSoapPublisher.ProcessServerTlb Method

Definition

Processes a server type library, either adding or deleting component entries to the Web.config and Default.disco files. Generates a proxy if necessary.

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)

Parameters

ProgId
String

The programmatic identifier of the class.

SrcTlbPath
String

The path for the file that contains the type library.

PhysicalPath
String

The Web application directory.

Operation
String

The operation to perform.

AssemblyName
String

When this method returns, this parameter contains the display name of the assembly.

TypeName
String

When this method returns, this parameter contains the fully-qualified type name of the assembly.

Error
String

When this method returns, this parameter contains an error message if a problem was encountered.

Exceptions

A caller in the call chain does not have permission to access unmanaged code.

The SrcTlbPath parameter referenced scrobj.dll; therefore, SOAP publication of script components is not supported.

Remarks

Generates Web.config and Default.disco file entries for COM+ components. Generates a proxy if necessary.

It is recommended that AddServerTlb and DeleteServerTlb be used instead of ProcessServerTlb.

Applies to