EndRead()

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

Waits until the specified asynchronous read operation completes.

virtual int System::IO::Stream::EndRead(System::SharedPtr<System::IAsyncResult> asyncResult)

Arguments

ParameterTypeDescription
asyncResultSystem::SharedPtr<System::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