System::Net::Sockets::NetworkStream::EndRead method

NetworkStream::EndRead method

Waits until the specified asynchronous read operation completes.

int32_t System::Net::Sockets::NetworkStream::EndRead(System::SharedPtr<IAsyncResult> asyncResult) override
ParameterTypeDescription
asyncResultSystem::SharedPtr<IAsyncResult>An IAsyncResult object that represents an asynchronous read operation

ReturnValue

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

See Also