Publish.ProcessClientTlb Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
Parameters
- ProgId
- String
The programmatic identifier of the class.
- SrcTlbPath
- String
The path for the file that contains the typelib.
- PhysicalPath
- String
The Web application directory.
- VRoot
- String
The name of the virtual root.
- BaseUrl
- String
The base URL that contains the virtual root.
- Mode
- String
The activation mode.
- Transport
- String
Not used. Specify 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.
Implements
Exceptions
A caller in the call chain does not have permission to access unmanaged code.
Remarks
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.