BeginWrite()

SslStream::BeginWrite(System::ArrayPtr<uint8_t>, int32_t, int32_t, AsyncCallback, System::SharedPtr<Object>) method

Initiates an asynchronous write operation.

System::SharedPtr<IAsyncResult> System::Net::Security::SslStream::BeginWrite(System::ArrayPtr<uint8_t> buffer, int32_t offset, int32_t count, AsyncCallback asyncCallback, System::SharedPtr<Object> asyncState) override

Arguments

ParameterTypeDescription
bufferSystem::ArrayPtr<uint8_t>The byte array to write data to.
offsetint32_tThe offset in bytes in the specified array.
countint32_tThe number of bytes to write.
asyncCallbackAsyncCallbackA callback to be called when the operation completes.
asyncStateSystem::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