System::Net::Dns::EndGetHostAddresses 方法

Dns::EndGetHostAddresses method

等待指定的创建新 IPHostEntry-class 实例的异步操作完成。

static System::ArrayPtr<System::SharedPtr<IPAddress>> System::Net::Dns::EndGetHostAddresses(System::SharedPtr<IAsyncResult> asyncResult)
参数类型描述
asyncResultSystem::SharedPtr<IAsyncResult>一个表示异步操作的 IAsyncResult 对象。

ReturnValue

一个新创建的 IPHostEntry-class 实例。

另见