Starts writing stream data to source stream. Data will be period handled and terminated as needed.
| C# | Visual Basic | Managed C++ |
public void BeginWritePeriodTerminated ( Stream stream, int maxSize, Object tag, WriteStreamCallback callback )
Public Sub BeginWritePeriodTerminated ( _ stream As Stream, _ maxSize As Integer, _ tag As Object, _ callback As WriteStreamCallback _ )
public: void BeginWritePeriodTerminated ( Stream^ stream, int maxSize, Object^ tag, WriteStreamCallback^ callback )
- stream (Stream)
- Stream which data to write to source stream.
- maxSize (Int32)
- Maximum muber of bytes to read from stream and write source stream.
- tag (Object)
- User data.
- callback (WriteStreamCallback)
- Callback to be called if asynchronous write completes.
| Exception | Condition |
|---|---|
| ArgumentNullException | Raised when stream is null. |
| InvalidOperationException | Raised when there already is pending write operation. |
Assembly: LumiSoft.Net Version: 2.0.2636.18419 (Module: LumiSoft.Net)