Export (0) Print
Expand All

SoapServerTlb.AddServerTlb Method

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.

Namespace:  System.EnterpriseServices.Internal
Assembly:  System.EnterpriseServices (in System.EnterpriseServices.dll)

public void AddServerTlb(
	string progId,
	string classId,
	string interfaceId,
	string srcTlbPath,
	string rootWebServer,
	string inBaseUrl,
	string inVirtualRoot,
	string clientActivated,
	string wellKnown,
	string discoFile,
	string operation,
	out string strAssemblyName,
	out string typeName
)

Parameters

progId
Type: System.String

The programmatic identifier of the class.

classId
Type: System.String

The class identifier (CLSID) for the type library.

interfaceId
Type: System.String

The IID for the type library.

srcTlbPath
Type: System.String

The path for the file containing the type library.

rootWebServer
Type: System.String

The root Web server.

inBaseUrl
Type: System.String

The base URL that contains the virtual root.

inVirtualRoot
Type: System.String

The name of the virtual root.

clientActivated
Type: System.String

true if client activated; otherwise, false.

wellKnown
Type: System.String

true if well-known; otherwise, false.

discoFile
Type: System.String

true if a discovery file; otherwise, false.

operation
Type: System.String

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

strAssemblyName
Type: System.String

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

typeName
Type: System.String

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

Implements

ISoapServerTlb.AddServerTlb(String, String, String, String, String, String, String, String, String, String, String, String, String)

ExceptionCondition
SecurityException

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

PlatformNotSupportedException

The SOAP utility is not available.

ServicedComponentException

The call to get the system directory failed.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Show:
© 2015 Microsoft