IComSoapPublisher.ProcessServerTlb Method (String, String, String, String, String, String, String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

void ProcessServerTlb(
	string ProgId,
	string SrcTlbPath,
	string PhysicalPath,
	string Operation,
	out string AssemblyName,
	out string TypeName,
	out string Error
)

Parameters

ProgId
Type: System.String

The programmatic identifier of the class.

SrcTlbPath
Type: System.String

The path for the file that contains the type library.

PhysicalPath
Type: System.String

The Web application directory.

Operation
Type: System.String

The operation to perform.

AssemblyName
Type: System.String

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

TypeName
Type: System.String

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

Error
Type: System.String

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

Exception Condition
SecurityException

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

ServicedComponentException

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

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.

.NET Framework
Available since 1.1
Return to top
Show: