Edit

Share via


ISoapServerTlb.AddServerTlb Method

Definition

Adds the entries for a server type library to the Web.config and Default.disco files, depending on security options, and generates a proxy if necessary.

public:
 void AddServerTlb(System::String ^ progId, System::String ^ classId, System::String ^ interfaceId, System::String ^ srcTlbPath, System::String ^ rootWebServer, System::String ^ baseUrl, System::String ^ virtualRoot, System::String ^ clientActivated, System::String ^ wellKnown, System::String ^ discoFile, System::String ^ operation, [Runtime::InteropServices::Out] System::String ^ % assemblyName, [Runtime::InteropServices::Out] System::String ^ % typeName);
public void AddServerTlb (string progId, string classId, string interfaceId, string srcTlbPath, string rootWebServer, string baseUrl, string virtualRoot, string clientActivated, string wellKnown, string discoFile, string operation, out string assemblyName, out string typeName);
abstract member 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, baseUrl As String, virtualRoot As String, clientActivated As String, wellKnown As String, discoFile As String, operation As String, ByRef assemblyName As String, ByRef typeName As String)

Parameters

progId
String

The programmatic identifier of the class.

classId
String

The class identifier (CLSID) for the type library.

interfaceId
String

The IID for the type library.

srcTlbPath
String

The path for the file containing the type library.

rootWebServer
String

The root Web server.

baseUrl
String

The base URL that contains the virtual root.

virtualRoot
String

The name of the virtual root.

clientActivated
String

true if client activated; otherwise, false.

wellKnown
String

true if well-known; otherwise, false.

discoFile
String

true if a discovery file; otherwise, false.

operation
String

The operation to perform. Specify either "delete" or an empty string.

assemblyName
String

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

typeName
String

When this method returns, contains the type of the assembly.

Exceptions

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

The SOAP utility is not available.

The call to get the system directory failed.

Applies to