System::Net::Dns::BeginGetHostEntry 메서드

Dns::BeginGetHostEntry(String, AsyncCallback, System::SharedPtr<Object>) method

지정된 호스트 이름 또는 IP 주소를 포함하는 문자열을 사용하여 새로운 IPHostEntry-class 인스턴스를 생성하는 비동기 작업을 시작합니다.

static System::SharedPtr<IAsyncResult> System::Net::Dns::BeginGetHostEntry(String hostNameOrAddress, AsyncCallback requestCallback, System::SharedPtr<Object> stateObject)
매개변수형식설명
hostNameOrAddressString호스트 이름 또는 IP 주소를 포함하는 문자열입니다.
requestCallbackAsyncCallback작업이 완료될 때 호출되는 콜백입니다.
stateObjectSystem::SharedPtr<Object>각 비동기 작업을 고유하게 식별하는 데 사용되는 사용자 제공 데이터입니다.

ReturnValue

시작된 비동기 작업을 나타내는 IAsyncResult 객체입니다.

또 보기

Dns::BeginGetHostEntry(System::SharedPtr<IPAddress>, AsyncCallback, System::SharedPtr<Object>) method

지정된 IP 주소를 사용하여 새로운 IPHostEntry-class 인스턴스를 생성하는 비동기 작업을 시작합니다.

static System::SharedPtr<IAsyncResult> System::Net::Dns::BeginGetHostEntry(System::SharedPtr<IPAddress> address, AsyncCallback requestCallback, System::SharedPtr<Object> stateObject)
매개변수형식설명
주소System::SharedPtr<IPAddress>IP 주소입니다.
requestCallbackAsyncCallback작업이 완료될 때 호출되는 콜백입니다.
stateObjectSystem::SharedPtr<Object>각 비동기 작업을 고유하게 식별하는 데 사용되는 사용자 제공 데이터입니다.

ReturnValue

시작된 비동기 작업을 나타내는 IAsyncResult 객체입니다.

또 보기