Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
HINWEIS: Diese Methode ist mittlerweile veraltet.
Beendet eine asynchrone Anforderung für DNS-Informationen.
Namespace: System.Net
Assembly: System (in system.dll)
Syntax
'Declaration
<ObsoleteAttribute("EndGetHostByName is obsoleted for this type, please use EndGetHostEntry instead. https://go.microsoft.com/fwlink/?linkid=14202")> _
Public Shared Function EndGetHostByName ( _
asyncResult As IAsyncResult _
) As IPHostEntry
'Usage
Dim asyncResult As IAsyncResult
Dim returnValue As IPHostEntry
returnValue = Dns.EndGetHostByName(asyncResult)
[ObsoleteAttribute("EndGetHostByName is obsoleted for this type, please use EndGetHostEntry instead. https://go.microsoft.com/fwlink/?linkid=14202")]
public static IPHostEntry EndGetHostByName (
IAsyncResult asyncResult
)
[ObsoleteAttribute(L"EndGetHostByName is obsoleted for this type, please use EndGetHostEntry instead. https://go.microsoft.com/fwlink/?linkid=14202")]
public:
static IPHostEntry^ EndGetHostByName (
IAsyncResult^ asyncResult
)
/** @attribute ObsoleteAttribute("EndGetHostByName is obsoleted for this type, please use EndGetHostEntry instead. https://go.microsoft.com/fwlink/?linkid=14202") */
public static IPHostEntry EndGetHostByName (
IAsyncResult asyncResult
)
ObsoleteAttribute("EndGetHostByName is obsoleted for this type, please use EndGetHostEntry instead. https://go.microsoft.com/fwlink/?linkid=14202")
public static function EndGetHostByName (
asyncResult : IAsyncResult
) : IPHostEntry
Parameter
- asyncResult
Eine durch einen Aufruf der BeginGetHostByName-Methode zurückgegebene IAsyncResult-Instanz.
Rückgabewert
Ein IPHostEntry-Objekt mit DNS-Informationen zu einem Host.
Ausnahmen
| Ausnahmetyp | Bedingung |
|---|---|
asyncResult ist NULL (Nothing in Visual Basic). |
Hinweise
Diese Methode wird blockiert, bis der Vorgang abgeschlossen ist.
Verwenden Sie die GetHostByName-Methode, um diesen Vorgang synchron auszuführen.
Hinweis
Dieser Member gibt Ablaufverfolgungsinformationen aus, wenn Sie die Netzwerkablaufverfolgung in der Anwendung aktivieren. Weitere Informationen finden Sie unter Netzwerkablaufverfolgung.
Plattformen
Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile für Pocket PC, Windows Mobile für Smartphone, 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: 1.0, 1.1
Veraltet (Compilerwarnung) in 2.0
.NET Compact Framework
Unterstützt in: 1.0
Veraltet (Compilerwarnung) in 2.0
Siehe auch
Referenz
Dns-Klasse
Dns-Member
System.Net-Namespace
Weitere Ressourcen
Asynchronous Calls