Handles the end of an asynchronous data reading.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public override int EndRead( IAsyncResult asyncResult )
Public Overrides Function EndRead ( asyncResult As IAsyncResult ) As Integer
public: virtual int EndRead( IAsyncResult^ asyncResult ) override
abstract EndRead : asyncResult : IAsyncResult -> int override EndRead : asyncResult : IAsyncResult -> int
Parameters
- asyncResult (IAsyncResult)
- The reference to the pending asynchronous request to finish.
Return Value
Int32
The total number of bytes read into the buffer. This can be less than the number of bytes requested if that many bytes are not currently available, or zero (0) if the end of the stream has been reached.
The total number of bytes read into the buffer. This can be less than the number of bytes requested if that many bytes are not currently available, or zero (0) if the end of the stream has been reached.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Is raised when asyncResult is null reference. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119