ActivatedClientTypeEntry.ToString-Methode
Gibt den Typnamen, Assemblynamen und Anwendungs-URL des vom Client aktivierten Typs als String zurück.
Namespace: System.Runtime.Remoting
Assembly: mscorlib (in mscorlib.dll)
Syntax
'Declaration
Public Overrides Function ToString As String
'Usage
Dim instance As ActivatedClientTypeEntry
Dim returnValue As String
returnValue = instance.ToString
public override string ToString ()
public:
virtual String^ ToString () override
public String ToString ()
public override function ToString () : String
Rückgabewert
Der Typname, Assemblyname und Anwendungs-URL des vom Client aktivierten Typs als String.
Beispiel
Im folgenden Codebeispiel wird die Verwendung der ToString-Methode veranschaulicht.
' 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());
// 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());
Plattformen
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.
Versionsinformationen
.NET Framework
Unterstützt in: 2.0, 1.1, 1.0
Siehe auch
Referenz
ActivatedClientTypeEntry-Klasse
ActivatedClientTypeEntry-Member
System.Runtime.Remoting-Namespace