System::Net::Dns::BeginGetHostEntry metodo
Contenuti
[
Nascondere
]Dns::BeginGetHostEntry(String, AsyncCallback, System::SharedPtr<Object>) 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::BeginGetHostEntry(String hostNameOrAddress, AsyncCallback requestCallback, System::SharedPtr<Object> stateObject)
| Parametro | Tipo | Descrizione |
|---|---|---|
| hostNameOrAddress | Stringa | La stringa che contiene un nome host o un indirizzo IP. |
| 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++
Dns::BeginGetHostEntry(System::SharedPtr<IPAddress>, AsyncCallback, System::SharedPtr<Object>) method
Avvia un’operazione asincrona per creare una nuova istanza della classe IPHostEntry utilizzando l’indirizzo IP specificato.
static System::SharedPtr<IAsyncResult> System::Net::Dns::BeginGetHostEntry(System::SharedPtr<IPAddress> address, AsyncCallback requestCallback, System::SharedPtr<Object> stateObject)
| Parametro | Tipo | Descrizione |
|---|---|---|
| indirizzo | System::SharedPtr<IPAddress> | L’indirizzo IP. |
| 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 IPAddress
- Typedef AsyncCallback
- Class Object
- Class Dns
- Namespace System::Net
- Library Aspose.Font for C++