EndGetHostByName()

Dns::EndGetHostByName(System::SharedPtr<IAsyncResult>) 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)

Arguments

ParameterTypeDescription
asyncResultSystem::SharedPtr<IAsyncResult>An IAsyncResult object that represents an asynchronous operation.

Return Value

A newly created IPHostEntry-class instance.

See Also