LumiSoft Net Help
EndReadLine Method (asyncResult)
Namespaces ► LumiSoft.Net.IO ► SmartStream ► EndReadLine(IAsyncResult)
Handles the end of an asynchronous line reading.
Declaration Syntax

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

Parameters

asyncResult (IAsyncResult)
  An IAsyncResult that represents an asynchronous call.

Return Value
Int32
Returns number of bytes stored to buffer. Returns -1 if no more data, end of stream reached.
Exceptions

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