Dns.EndGetHostEntry(IAsyncResult) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Ends an asynchronous request for DNS information.
public:
static System::Net::IPHostEntry ^ EndGetHostEntry(IAsyncResult ^ asyncResult);
public static System.Net.IPHostEntry EndGetHostEntry (IAsyncResult asyncResult);
static member EndGetHostEntry : IAsyncResult -> System.Net.IPHostEntry
Public Shared Function EndGetHostEntry (asyncResult As IAsyncResult) As IPHostEntry
Parameters
- asyncResult
- IAsyncResult
An IAsyncResult instance returned by a call to an BeginGetHostEntry method.
Returns
An IPHostEntry instance that contains address information about the host.
Exceptions
asyncResult
is null
.
Remarks
This method blocks until the operation is complete.
The Aliases property of the IPHostEntry instance returned is not populated by this method and will always be empty.
To perform this operation synchronously, use a GetHostEntry method.
Note
This member emits trace information when you enable network tracing in your application. For more information, see Network Tracing in the .NET Framework.
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για