LumiSoft Net Help
EndReadHeader Method (asyncResult)
NamespacesLumiSoft.Net.IOSmartStreamEndReadHeader(IAsyncResult)
Handles the end of an asynchronous header reading.
Declaration Syntax
C#Visual BasicVisual 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
ExceptionCondition
ArgumentNullExceptionIs raised when asyncResult is null reference.
ArgumentExceptionIs raised when invalid asyncResult passed to this method.
InvalidOperationExceptionIs raised when EndReadLine has already been called for specified asyncResult.
LineSizeExceededExceptionIs raised when source stream has too big line.
DataSizeExceededExceptionIs raised when reading exceeds maxCount specified value.
IncompleteDataExceptionIs raised when source stream closed before header-terminator reached.

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