Starts reading specified amount data and storing to the specified store stream.
| C# | Visual Basic | Managed 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 )
- 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.
| Exception | Condition |
|---|---|
| ArgumentNullException | Raised when storeStream is null. |
| ArgumentException | Raised when count less than 1. |
Assembly: LumiSoft.Net Version: 2.0.2636.18419 (Module: LumiSoft.Net)