Handles the end of an asynchronous line reading.
![](../icons/collapse_all.gif)
C# | Visual Basic | Visual C++ | F# |
[ObsoleteAttribute("Use method 'ReadLine' instead.")] public int EndReadLine( IAsyncResult asyncResult )
<ObsoleteAttribute("Use method 'ReadLine' instead.")> Public Function EndReadLine ( asyncResult As IAsyncResult ) As Integer
public: [ObsoleteAttribute(L"Use method 'ReadLine' instead.")] int EndReadLine( IAsyncResult^ asyncResult )
[<ObsoleteAttribute("Use method 'ReadLine' instead.")>] member EndReadLine : asyncResult : IAsyncResult -> int
![](../icons/collapse_all.gif)
- asyncResult (IAsyncResult)
- An IAsyncResult that represents an asynchronous call.
![](../icons/collapse_all.gif)
Int32
Returns number of bytes stored to buffer. Returns -1 if no more data, end of stream reached.
Returns number of bytes stored to buffer. Returns -1 if no more data, end of stream reached.
![](../icons/collapse_all.gif)
Exception | Condition |
---|---|
ArgumentNullException | Is raised when asyncResult is null reference. |
ArgumentException | Is raised when invalid asyncResult passed to this method. |
InvalidOperationException | Is raised when EndReadLine has already been called for specified asyncResult. |
LineSizeExceededException | Is raised when maxCount value is exceeded. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119