LumiSoft Mail Server User API
BeginRead Method (storeStream, count, callback, tag)
Namespaces > LumiSoft.Net.IO > StreamHelper > BeginRead(Stream, Int32, ReadToStreamCallback, Object)
Starts reading specified amount data and storing to the specified store stream.
Syntax
C#Visual BasicManaged C++
public void BeginRead (
	Stream storeStream,
	int count,
	ReadToStreamCallback callback,
	Object tag
)
Public Sub BeginRead ( _
	storeStream As Stream, _
	count As Integer, _
	callback As ReadToStreamCallback, _
	tag As Object _
)
public:
void BeginRead (
	Stream^ storeStream, 
	int count, 
	ReadToStreamCallback^ callback, 
	Object^ tag
)
Parameters
storeStream (Stream)
Stream where to store readed data.
count (Int32)
Number of bytes to read from source stream and write to store stream.
callback (ReadToStreamCallback)
Callback to be called if asynchronous reading completes.
tag (Object)
User data.
Exceptions
ExceptionCondition
ArgumentNullExceptionRaised when storeStream is null.
ArgumentExceptionRaised when count less than 1.

Assembly: LumiSoft.Net Version: 2.0.2636.18419 (Module: LumiSoft.Net)