System::Net::Dns::BeginGetHostAddresses metodo
Contenuti
[
Nascondere
]Dns::BeginGetHostAddresses method
Avvia un’operazione asincrona per creare una nuova istanza della classe IPHostEntry utilizzando la stringa specificata che contiene un nome host o un indirizzo IP.
static System::SharedPtr<IAsyncResult> System::Net::Dns::BeginGetHostAddresses(String hostNameOrAddress, AsyncCallback requestCallback, System::SharedPtr<Object> state)
| Parametro | Tipo | Descrizione |
|---|---|---|
| hostNameOrAddress | Stringa | Una stringa che contiene un nome host o un indirizzo IP. |
| requestCallback | AsyncCallback | Una callback da chiamare al completamento dell’operazione. |
| stato | 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++