Freigeben über


Dns.EndResolve(IAsyncResult) Methode

Definition

Achtung

EndResolve has been deprecated. Use EndGetHostEntry instead.

Achtung

EndResolve is obsoleted for this type, please use EndGetHostEntry instead. https://go.microsoft.com/fwlink/?linkid=14202

Achtung

EndResolve is obsoleted for this type, please use EndGetHostEntry instead. http://go.microsoft.com/fwlink/?linkid=14202

Beendet eine asynchrone Anforderung für DNS-Informationen.

public:
 static System::Net::IPHostEntry ^ EndResolve(IAsyncResult ^ asyncResult);
[System.Obsolete("EndResolve has been deprecated. Use EndGetHostEntry instead.")]
public static System.Net.IPHostEntry EndResolve(IAsyncResult asyncResult);
[System.Obsolete("EndResolve is obsoleted for this type, please use EndGetHostEntry instead. https://go.microsoft.com/fwlink/?linkid=14202")]
public static System.Net.IPHostEntry EndResolve(IAsyncResult asyncResult);
[System.Obsolete("EndResolve is obsoleted for this type, please use EndGetHostEntry instead. http://go.microsoft.com/fwlink/?linkid=14202")]
public static System.Net.IPHostEntry EndResolve(IAsyncResult asyncResult);
public static System.Net.IPHostEntry EndResolve(IAsyncResult asyncResult);
[<System.Obsolete("EndResolve has been deprecated. Use EndGetHostEntry instead.")>]
static member EndResolve : IAsyncResult -> System.Net.IPHostEntry
[<System.Obsolete("EndResolve is obsoleted for this type, please use EndGetHostEntry instead. https://go.microsoft.com/fwlink/?linkid=14202")>]
static member EndResolve : IAsyncResult -> System.Net.IPHostEntry
[<System.Obsolete("EndResolve is obsoleted for this type, please use EndGetHostEntry instead. http://go.microsoft.com/fwlink/?linkid=14202")>]
static member EndResolve : IAsyncResult -> System.Net.IPHostEntry
static member EndResolve : IAsyncResult -> System.Net.IPHostEntry
Public Shared Function EndResolve (asyncResult As IAsyncResult) As IPHostEntry

Parameter

asyncResult
IAsyncResult

Eine IAsyncResult Instanz, die von einem Aufruf der BeginResolve(String, AsyncCallback, Object) Methode zurückgegeben wird.

Gibt zurück

Ein IPHostEntry Objekt, das DNS-Informationen zu einem Host enthält.

Attribute

Ausnahmen

asyncResult ist null.

Hinweise

Diese Methode blockiert, bis der Vorgang abgeschlossen ist.

Wenn die Eigenschaft auf <a0/> festgelegt ist, wird die zurückgegebene Instanz von dieser Methode nicht aufgefüllt und ist immer leer.

Verwenden Sie die Resolve Methode, um diesen Vorgang synchron auszuführen.

Hinweis

Dieses Mitglied gibt Ablaufverfolgungsinformationen aus, wenn Sie die Netzwerkablaufverfolgung in Ihrer Anwendung aktivieren. Weitere Informationen finden Sie unter Network Tracing in .NET Framework.

Gilt für:

Weitere Informationen