LumiSoft Net Help
BeginReadFixedCount Method (storeStream, count, callback, state)
NamespacesLumiSoft.Net.IOSmartStreamBeginReadFixedCount(Stream, Int64, AsyncCallback, Object)
Begins an asynchronous data reading from the source stream.
Declaration Syntax
C#Visual BasicVisual C++F#
public IAsyncResult BeginReadFixedCount(
	Stream storeStream,
	long count,
	AsyncCallback callback,
	Object state
)
Public Function BeginReadFixedCount ( 
	storeStream As Stream,
	count As Long,
	callback As AsyncCallback,
	state As Object
) As IAsyncResult
public:
IAsyncResult^ BeginReadFixedCount(
	Stream^ storeStream, 
	long long count, 
	AsyncCallback^ callback, 
	Object^ state
)
member BeginReadFixedCount : 
        storeStream : Stream * 
        count : int64 * 
        callback : AsyncCallback * 
        state : Object -> IAsyncResult 
Parameters
storeStream (Stream)
Stream where to store readed header.
count (Int64)
Number of bytes to read.
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
IAsyncResult
An IAsyncResult that represents the asynchronous call.
Exceptions
ExceptionCondition
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