Starts writing specified data to source stream.
| C# | Visual Basic | Managed C++ |
public void BeginWrite ( byte[] data, int offset, int count, WriteCallback callback )
Public Sub BeginWrite ( _ data As Byte(), _ offset As Integer, _ count As Integer, _ callback As WriteCallback _ )
public: void BeginWrite ( array<unsigned char>^ data, int offset, int count, WriteCallback^ callback )
- data (Byte[]())
- Data what to write to source stream.
- offset (Int32)
- The zero-based byte offset in buffer at which to begin copying bytes to the source stream.
- count (Int32)
- The number of bytes to be written to the source stream.
- callback (WriteCallback)
- Callback to be callled if write completes.
| Exception | Condition |
|---|---|
| ArgumentNullException | Raised when data is null. |
| InvalidOperationException | Raised when there already is pending write operation. |
Assembly: LumiSoft.Net Version: 2.0.2636.18419 (Module: LumiSoft.Net)