Publish.ProcessClientTlb(String, String, String, String, String, String, String, String, String, String) 方法

定义

处理客户端类型库,在客户端上创建配置文件。Processes a client type library, creating a configuration file on the client.

public:
 virtual 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
override this.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

类的编程标识符。The programmatic identifier of the class.

SrcTlbPath
String

包含类型库的文件的路径。The path for the file that contains the typelib.

PhysicalPath
String

Web 应用程序目录。The Web application directory.

VRoot
String

虚拟根目录的名称。The name of the virtual root.

BaseUrl
String

包含虚拟根目录的基 URL。The base URL that contains the virtual root.

Mode
String

激活模式。The activation mode.

Transport
String

未使用。Not used. 为此参数指定 nullSpecify null for this parameter.

AssemblyName
String

此方法返回时,此参数包含程序集的显示名称。When this method returns, this parameter contains the display name of the assembly.

TypeName
String

此方法返回时,此参数包含程序集的完全限定类型名称。When this method returns, this parameter contains the fully-qualified type name of the assembly.

Error
String

此方法返回时,此参数包含错误信息(如果遇到了问题)。When this method returns, this parameter contains an error message if a problem was encountered.

实现

例外

调用链中的调用方无权访问非托管代码。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.

如果 Mode 参数为 "wellknownobject" 或空字符串 ( "" ) ,则假定为已知对象; 否则,将假定客户端激活。If the Mode parameter is either "wellknownobject" or an empty string (""), a well-known object is assumed; otherwise, client activation is assumed.

建议 ProcessClientTlbEx 使用而不是 ProcessClientTlbIt is recommended that ProcessClientTlbEx be used instead of ProcessClientTlb.

适用于