System::Net::Dns::EndGetHostByName method

Dns::EndGetHostByName method

Waits until the specified asynchronous operation to create a new IPHostEntry-class instance completes.

static System::SharedPtr<IPHostEntry> System::Net::Dns::EndGetHostByName(System::SharedPtr<IAsyncResult> asyncResult)
ParameterTypeDescription
asyncResultSystem::SharedPtr<IAsyncResult>An IAsyncResult object that represents an asynchronous operation.

ReturnValue

A newly created IPHostEntry-class instance.

See Also