EndRead()

NetworkStream::EndRead(System::SharedPtr<IAsyncResult>) method

Waits until the specified asynchronous read operation completes.

int32_t System::Net::Sockets::NetworkStream::EndRead(System::SharedPtr<IAsyncResult> asyncResult) override

Arguments

ParameterTypeDescription
asyncResultSystem::SharedPtr<IAsyncResult>An IAsyncResult object that represents an asynchronous read operation

Return Value

The number of bytes read during the read operation represented by asyncResult

See Also