Export (0) Print
Expand All

Publish.ProcessClientTlb Method

Processes a client type library, creating a configuration file on the client.

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

public void ProcessClientTlb(
	string ProgId,
	string SrcTlbPath,
	string PhysicalPath,
	string VRoot,
	string BaseUrl,
	string Mode,
	string Transport,
	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 typelib.

PhysicalPath
Type: System.String

The Web application directory.

VRoot
Type: System.String

The name of the virtual root.

BaseUrl
Type: System.String

The base URL that contains the virtual root.

Mode
Type: System.String

The activation mode.

Transport
Type: System.String

Not used. Specify null for this parameter.

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.

Implements

IComSoapPublisher.ProcessClientTlb(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.

This method is used on a client proxy import to generate a remoting configuration file.

If the Mode parameter is either "wellknownobject" or an empty string (""), a well-known object is assumed; otherwise, client activation is assumed.

It is recommended that ProcessClientTlbEx be used instead of ProcessClientTlb.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2014 Microsoft