BeginWrite()
Contents
[
Hide
]NetworkStream::BeginWrite(System::ArrayPtr<uint8_t>, int32_t, int32_t, AsyncCallback, System::SharedPtr<Object>) method
Initiates an asynchronous write operation.
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
Arguments
Parameter | Type | Description |
---|---|---|
buffer | System::ArrayPtr<uint8_t> | A buffer containing data to be written. |
offset | int32_t | The offset in bytes in the specified array. |
size | int32_t | The number of bytes to write. |
callback | AsyncCallback | A callback to be called when the operation completes. |
state | System::SharedPtr<Object> | User-provided data used to uniquely identify each asynchronous write operation. |
Return Value
An IAsyncResult object representing the initiated asynchronous write operation.
See Also
- Typedef SharedPtr
- Typedef ArrayPtr
- Typedef AsyncCallback
- Class IAsyncResult
- Class Object
- Class NetworkStream
- Namespace System::Net::Sockets
- Library Aspose.Slides