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