LumiSoft Net Help
IMAP_Client..::..SearchAsyncOP Constructor (uid, charset, criteria, callback)
Namespaces ► LumiSoft.Net.IMAP.Client ► IMAP_Client..::..SearchAsyncOP ► IMAP_Client..::..SearchAsyncOP(Boolean, Encoding, IMAP_Search_Key, EventHandler<(Of <<'(EventArgs<(Of <<'(IMAP_r_u>)>>)>)>>))
Default constructor.
Declaration Syntax

C# | Visual Basic | Visual C++ | F#

    public SearchAsyncOP(
    	bool uid,
    	Encoding charset,
    	IMAP_Search_Key criteria,
    	EventHandler<EventArgs<IMAP_r_u>> callback
    )

    Public Sub New (
    	uid As Boolean,
    	charset As Encoding,
    	criteria As IMAP_Search_Key,
    	callback As EventHandler(Of EventArgs(Of IMAP_r_u))
    )

    public:
    SearchAsyncOP(
    	bool uid,
    	Encoding^ charset,
    	IMAP_Search_Key^ criteria,
    	EventHandler<EventArgs<IMAP_r_u^>^>^ callback
    )

    new :
            uid : bool *
            charset : Encoding *
            criteria : IMAP_Search_Key *
            callback : EventHandler<EventArgs<IMAP_r_u>> -> SearchAsyncOP

Parameters

uid (Boolean)
  Specifies if argument seqSet contains messages UID or sequence numbers.

charset (Encoding)
  Charset used in search criteria. Value null means ASCII. The UTF-8 is reccomended value non ASCII searches.

criteria (IMAP_Search_Key)
  Search criteria.

callback (EventHandler<(Of <(<'EventArgs<(Of <(<'IMAP_r_u>)>)>>)>)>)
  Optional callback to be called for each received untagged response.

Exceptions

Exception | Condition
--- | ---
ArgumentNullException | Is raised when criteria is null reference.
ArgumentException | Is raised when any of the arguments has invalid value.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119