BeginResolve()
Dns::BeginResolve(String, AsyncCallback, System::SharedPtr<Object>) method
Initiates an asynchronous operation to create a new IPHostEntry-class instance using the specified host name.
static System::SharedPtr<IAsyncResult> System::Net::Dns::BeginResolve(String hostName, AsyncCallback requestCallback, System::SharedPtr<Object> stateObject)
Arguments
Parameter | Type | Description |
---|---|---|
hostName | String | A host name that is used to create a new instance of the IPHostEntry class. |
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. |
Return Value
An IAsyncResult object representing the initiated asynchronous operation.
See Also
- Typedef SharedPtr
- Typedef AsyncCallback
- Class IAsyncResult
- Class String
- Class Object
- Class Dns
- Namespace System::Net
- Library Aspose.Slides