LumiSoft Mail Server User API
BeginReadLine Method (buffer, tag, callback)
Namespaces > LumiSoft.Net.IO > StreamHelper > BeginReadLine(Byte[](), Object, ReadLineCallback)
Starts reading line from source stream.
Syntax

C# | Visual Basic | Managed C++

    public void BeginReadLine (
    	byte[] buffer,
    	Object tag,
    	ReadLineCallback callback
    )

    Public Sub BeginReadLine ( _
    	buffer As Byte(), _
    	tag As Object, _
    	callback As ReadLineCallback _
    )

    public:
    void BeginReadLine (
    	array<unsigned char>^ buffer,
    	Object^ tag,
    	ReadLineCallback^ callback
    )

Parameters

buffer (Byte[]())
  Buffer where to store line data.
tag (Object)
  User data.
callback (ReadLineCallback)
  Callback to be called whan asynchronous operation completes.

Exceptions

Exception | Condition
--- | ---
ArgumentNullException | Raised when buffer is null.
InvalidOperationException | Raised when there already is pending read operation.

Assembly: LumiSoft.Net Version: 2.0.2636.18419 (Module: LumiSoft.Net)