Ends a pending asynchronous read request, and blocks until
the read request has completed.
[Edit]
Parameters
- asyncResult
- The IAsyncResult object for the pending asynchronous request.
[Edit]
Returns
A int containing the number of
bytes read from the stream. Returns 0 only if the end of the file has
been reached, otherwise, this method blocks until at least one byte is available.
[Edit]
Exceptions
Remarks
Requirements
Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0