System::Net::Dns::BeginGetHostByName method
Dns::BeginGetHostByName method
Initiates an asynchronous operation to create a new IPHostEntry-class instance using the specified host name.
static System::SharedPtr<IAsyncResult> System::Net::Dns::BeginGetHostByName(String hostName, AsyncCallback requestCallback, System::SharedPtr<Object> stateObject)
Parameter | Type | Description |
---|---|---|
hostName | String | A host name. |
requestCallback | AsyncCallback | A callback to be called when the operation completes. |
stateObject | System::SharedPtr<Object> | User-provided data used to uniquely identify each asynchronous operation. |
ReturnValue
An IAsyncResult object representing the initiated asynchronous operation.
See Also
- Typedef SharedPtr
- Class IAsyncResult
- Class String
- Typedef AsyncCallback
- Class Object
- Class Dns
- Namespace System::Net
- Library Aspose.Page for C++