Handles the end of an asynchronous header reading.
![](../icons/collapse_all.gif)
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
![](../icons/collapse_all.gif)
- asyncResult (IAsyncResult)
- An IAsyncResult that represents an asynchronous call.
![](../icons/collapse_all.gif)
Int32
Returns number of bytes stored to storeStream.
Returns number of bytes stored to storeStream.
![](../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 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