ActivatedClientTypeEntry.ToString 方法

定义

以客户端 String激活类型的形式返回类型名称、程序集名称和应用程序 URL。

public:
 override System::String ^ ToString();
public override string ToString();
override this.ToString : unit -> string
Public Overrides Function ToString () As String

返回

客户端激活类型的类型名称、程序集名称和应用程序 URL 作为 。String

示例

下面的代码示例演示了该方法的 ToString 用法。

// Print the string representation of the type entry.
Console::WriteLine( "Type and assembly name and application URL of the remote object: {0}", activatedClientTypeEntry->ToString() );
// Print the string representation of the type entry.
Console.WriteLine(
    "Type name, assembly name and application URL " +
    "of the remote object: " +
    myActivatedClientTypeEntry.ToString());
' Print the string representation of the type entry.
Console.WriteLine( _
    "Type name, assembly name and application URL " + _
    "of the remote object: " + _
    myActivatedClientTypeEntry.ToString())

适用于