SoapServerTlb.AddServerTlb Method (String, String, String, String, String, String, String, String, String, String, String, String, String)

 

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.

Exception Condition
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.

SecurityPermission

for the ability to access unmanaged code. Associated enumeration: SecurityPermissionFlag.UnmanagedCode

.NET Framework
Available since 1.1
Return to top
Show: