LumiSoft Mail Server User API
BeginWrite Method (data, callback)
Namespaces > LumiSoft.Net.IO > StreamHelper > BeginWrite(Byte[](), WriteCallback)
Starts writing specified data to source stream.
Syntax

C# | Visual Basic | Managed C++

    public void BeginWrite (
    	byte[] data,
    	WriteCallback callback
    )

    Public Sub BeginWrite ( _
    	data As Byte(), _
    	callback As WriteCallback _
    )

    public:
    void BeginWrite (
    	array<unsigned char>^ data,
    	WriteCallback^ callback
    )

Parameters

data (Byte[]())
  Data what to write to source stream.
callback (WriteCallback)
  Callback to be callled if write completes.

Exceptions

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)