LumiSoft Net Help
BeginReadHeader Method (storeStream, maxCount, exceededAction, callback, state)
NamespacesLumiSoft.Net.IOSmartStreamBeginReadHeader(Stream, Int32, SizeExceededAction, AsyncCallback, Object)
Begins an asynchronous header reading from the source stream.
Declaration Syntax
C#Visual BasicVisual C++F#
public IAsyncResult BeginReadHeader(
	Stream storeStream,
	int maxCount,
	SizeExceededAction exceededAction,
	AsyncCallback callback,
	Object state
Public Function BeginReadHeader ( 
	storeStream As Stream,
	maxCount As Integer,
	exceededAction As SizeExceededAction,
	callback As AsyncCallback,
	state As Object
) As IAsyncResult
IAsyncResult^ BeginReadHeader(
	Stream^ storeStream, 
	int maxCount, 
	SizeExceededAction exceededAction, 
	AsyncCallback^ callback, 
	Object^ state
member BeginReadHeader : 
        storeStream : Stream * 
        maxCount : int * 
        exceededAction : SizeExceededAction * 
        callback : AsyncCallback * 
        state : Object -> IAsyncResult 
storeStream (Stream)
Stream where to store readed header.
maxCount (Int32)
Maximum number of bytes to read. Value 0 means not limited.
exceededAction (SizeExceededAction)
Specifies action what is done if maxCount number of bytes has exceeded.
callback (AsyncCallback)
The AsyncCallback delegate that is executed when asynchronous operation completes.
state (Object)
An object that contains any additional user-defined data.
Return Value
An IAsyncResult that represents the asynchronous call.
ObjectDisposedExceptionIs raised when this object is disposed and this method is accessed.
ArgumentNullExceptionIs raised when storeStream is null reference.
ArgumentExceptionIs raised when any of the arguments has invalid value.

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