Freigeben über


ActivatedClientTypeEntry.ObjectType-Eigenschaft

Ruft den Type des vom Client aktivierten Typs ab.

Namespace: System.Runtime.Remoting
Assembly: mscorlib (in mscorlib.dll)

Syntax

'Declaration
Public ReadOnly Property ObjectType As Type
'Usage
Dim instance As ActivatedClientTypeEntry
Dim value As Type

value = instance.ObjectType
public Type ObjectType { get; }
public:
property Type^ ObjectType {
    Type^ get ();
}
/** @property */
public Type get_ObjectType ()
public function get ObjectType () : Type

Eigenschaftenwert

Ruft den Type des vom Client aktivierten Typs ab.

Beispiel

Im folgenden Codebeispiel wird die Verwendung der ObjectType-Eigenschaft veranschaulicht.

' Print the object type.
Console.WriteLine("Object type of client activated object: " + _
    myActivatedClientTypeEntry.ObjectType.ToString())
// Print the object type.
Console.WriteLine(
    "Object type of client activated object: " +
    myActivatedClientTypeEntry.ObjectType.ToString());
// Print the object type.
Console::WriteLine( "Object type of client activated object: {0}", activatedClientTypeEntry->ObjectType->ToString() );
// Print the object type.
Console.WriteLine(("Object type of client activated object: " 
    + myActivatedClientTypeEntry.get_ObjectType().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