Begins reading period terminated data from source stream. Reads data while gets single period on line,
what is data terminator.
| C# | Visual Basic | Managed C++ |
public void BeginReadPeriodTerminated ( Stream storeStream, int maxSize, SizeExceededAction exceededAction, ReadToStreamCallback callback, Object tag )
Public Sub BeginReadPeriodTerminated ( _ storeStream As Stream, _ maxSize As Integer, _ exceededAction As SizeExceededAction, _ callback As ReadToStreamCallback, _ tag As Object _ )
public: void BeginReadPeriodTerminated ( Stream^ storeStream, int maxSize, SizeExceededAction exceededAction, ReadToStreamCallback^ callback, Object^ tag )
- storeStream (Stream)
- Stream where to store data.
- maxSize (Int32)
- Maximum muber of bytes to read.
- exceededAction (SizeExceededAction)
- Specifies how this method behaves when maximum size exceeded.
- callback (ReadToStreamCallback)
- Callback to be called if asynchronous reading completes.
- tag (Object)
- User data.
| Exception | Condition |
|---|---|
| ArgumentNullException | Raised when storeStream is null. |
| InvalidOperationException | Raised when there already is pending read operation. |
Assembly: LumiSoft.Net Version: 2.0.2636.18419 (Module: LumiSoft.Net)