System::Net::Dns::EndGetHostByName-metod

Dns::EndGetHostByName method

Väntar tills den angivna asynkrona operationen för att skapa en ny IPHostEntry-class-instans är klar.

static System::SharedPtr<IPHostEntry> System::Net::Dns::EndGetHostByName(System::SharedPtr<IAsyncResult> asyncResult)
ParameterTypBeskrivning
asyncResultSystem::SharedPtr<IAsyncResult>Ett IAsyncResult‑objekt som representerar en asynkron operation.

ReturnValue

En nyss skapad IPHostEntry-klassinstans.

Se även