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

C# | Visual Basic | Visual C++ | F#

    public int EndReadHeader(
    	IAsyncResult asyncResult
    )

    Public Function EndReadHeader (
    	asyncResult As IAsyncResult
    ) As Integer

    public:
    int EndReadHeader(
    	IAsyncResult^ asyncResult
    )

    member EndReadHeader :
            asyncResult : IAsyncResult -> int

Parameters

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

Return Value
Int32
Returns number of bytes stored to storeStream.
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 source stream has too big line.
DataSizeExceededException | Is raised when reading exceeds maxCount specified value.
IncompleteDataException | Is raised when source stream closed before header-terminator reached.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119