Metodo System::Net::Sockets::NetworkStream::BeginWrite
Contenuti
[
Nascondere
]NetworkStream::BeginWrite method
Avvia un’operazione di scrittura asincrona.
System::SharedPtr<IAsyncResult> System::Net::Sockets::NetworkStream::BeginWrite(System::ArrayPtr<uint8_t> buffer, int32_t offset, int32_t size, AsyncCallback callback, System::SharedPtr<Object> state) override
| Parametro | Tipo | Descrizione |
|---|---|---|
| buffer | System::ArrayPtr<uint8_t> | Un buffer contenente i dati da scrivere. |
| offset | int32_t | L’offset in byte nell’array specificato. |
| size | int32_t | Il numero di byte da scrivere. |
| callback | 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 di scrittura asincrona. |
ReturnValue
Un oggetto IAsyncResult che rappresenta l’operazione di scrittura asincrona avviata.
Vedi anche
- Typedef SharedPtr
- Class IAsyncResult
- Typedef ArrayPtr
- Typedef AsyncCallback
- Class Object
- Class NetworkStream
- Namespace System::Net::Sockets
- Library Aspose.Font for C++