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

C# | Visual Basic | Managed C++

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

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

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

Parameters

buffer (Byte[]())
  Buffer where to store line data.
exceededAction (SizeExceededAction)
  Specifies how this method behaves when maximum line size exceeded.
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)