ActivatedClientTypeEntry.ToString 方法

定义

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

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

返回

String 对象表示的客户端激活类型的类型名称、程序集名称和应用程序 URL。

示例

下面的代码示例演示如何使用 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())

适用于