System::IO::Stream::EndRead method

Stream::EndRead method

Waits until the specified asynchronous read operation completes.

virtual int System::IO::Stream::EndRead(System::SharedPtr<System::IAsyncResult> asyncResult)
ParameterTypeDescription
asyncResultSystem::SharedPtr<System::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