IComSoapPublisher.ProcessClientTlb 方法

定义

处理客户端类型库,在客户端上创建配置文件。

public:
 void ProcessClientTlb(System::String ^ ProgId, System::String ^ SrcTlbPath, System::String ^ PhysicalPath, System::String ^ VRoot, System::String ^ BaseUrl, System::String ^ Mode, System::String ^ Transport, [Runtime::InteropServices::Out] System::String ^ % AssemblyName, [Runtime::InteropServices::Out] System::String ^ % TypeName, [Runtime::InteropServices::Out] System::String ^ % Error);
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);
abstract member ProcessClientTlb : string * string * string * string * string * string * string * string * string * string -> unit
Public Sub ProcessClientTlb (ProgId As String, SrcTlbPath As String, PhysicalPath As String, VRoot As String, BaseUrl As String, Mode As String, Transport As String, ByRef AssemblyName As String, ByRef TypeName As String, ByRef Error As String)

参数

ProgId
String

类的编程标识符。

SrcTlbPath
String

包含 typelib 的文件的路径。

PhysicalPath
String

Web 应用程序目录。

VRoot
String

虚拟根的名称。

BaseUrl
String

包含虚拟根的基 URL。

Mode
String

激活模式。

Transport
String

未使用。 指定 null 此参数。

AssemblyName
String

此方法返回时,此参数包含程序集的显示名称。

TypeName
String

此方法返回时,此参数包含程序集的完全限定类型名称。

Error
String

此方法返回时,如果遇到问题,此参数将包含错误消息。

例外

调用链中的调用方无权访问非托管代码。

注解

此方法用于客户端代理导入以生成远程处理配置文件。

在实现中,如果 Mode 参数为“wellknownobject”或空字符串(“),则假定为已知对象;否则,假定客户端激活。

建议 ProcessClientTlbEx 使用而不是 ProcessClientTlb

适用于