Starts writing all stream data to source stream.
| C# | Visual Basic | Managed C++ |
public void BeginWriteAll ( Stream stream, int maxSize, Object tag, WriteStreamCallback callback )
Public Sub BeginWriteAll ( _ stream As Stream, _ maxSize As Integer, _ tag As Object, _ callback As WriteStreamCallback _ )
public: void BeginWriteAll ( Stream^ stream, int maxSize, Object^ tag, WriteStreamCallback^ callback )
- stream (Stream)
- Stream which data to write.
- maxSize (Int32)
- Maximum number of bytes to read from 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)