System::Net::Dns::BeginGetHostByName metodo
Dns::BeginGetHostByName method
Avvia un’operazione asincrona per creare una nuova istanza della classe IPHostEntry utilizzando il nome host specificato.
static System::SharedPtr<IAsyncResult> System::Net::Dns::BeginGetHostByName(String hostName, AsyncCallback requestCallback, System::SharedPtr<Object> stateObject)
| Parametro | Tipo | Descrizione |
|---|---|---|
| hostName | Stringa | Un nome host. |
| requestCallback | AsyncCallback | Una callback da chiamare al completamento dell’operazione. |
| stateObject | System::SharedPtr<Object> | Dati forniti dall’utente utilizzati per identificare in modo univoco ogni operazione asincrona. |
ReturnValue
Un oggetto IAsyncResult che rappresenta l’operazione asincrona avviata.
Vedi anche
- Typedef SharedPtr
- Class IAsyncResult
- Class String
- Typedef AsyncCallback
- Class Object
- Class Dns
- Namespace System::Net
- Library Aspose.Font for C++