LumiSoft Net Help
Fetch Method (uid, seqSet, items, handler)
Namespaces ► LumiSoft.Net.IMAP.Client ► IMAP_Client ► Fetch(Boolean, IMAP_SequenceSet, array<IMAP_Fetch_DataItem>[]()[][], IMAP_Client_FetchHandler)
Fetches specified message items.
Declaration Syntax

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

    [ObsoleteAttribute("Use Fetch(bool uid,IMAP_t_SeqSet seqSet,IMAP_Fetch_DataItem[] items,EventHandler<EventArgs<IMAP_r_u>> callback) intead.")]
    public void Fetch(
    	bool uid,
    	IMAP_SequenceSet seqSet,
    	IMAP_Fetch_DataItem[] items,
    	IMAP_Client_FetchHandler handler
    )

    <ObsoleteAttribute("Use Fetch(bool uid,IMAP_t_SeqSet seqSet,IMAP_Fetch_DataItem[] items,EventHandler<EventArgs<IMAP_r_u>> callback) intead.")>
    Public Sub Fetch (
    	uid As Boolean,
    	seqSet As IMAP_SequenceSet,
    	items As IMAP_Fetch_DataItem(),
    	handler As IMAP_Client_FetchHandler
    )

    public:
    [ObsoleteAttribute(L"Use Fetch(bool uid,IMAP_t_SeqSet seqSet,IMAP_Fetch_DataItem[] items,EventHandler<EventArgs<IMAP_r_u>> callback) intead.")]
    void Fetch(
    	bool uid,
    	IMAP_SequenceSet^ seqSet,
    	array<IMAP_Fetch_DataItem^>^ items,
    	IMAP_Client_FetchHandler^ handler
    )

    [<ObsoleteAttribute("Use Fetch(bool uid,IMAP_t_SeqSet seqSet,IMAP_Fetch_DataItem[] items,EventHandler<EventArgs<IMAP_r_u>> callback) intead.")>]
    member Fetch :
            uid : bool *
            seqSet : IMAP_SequenceSet *
            items : IMAP_Fetch_DataItem[] *
            handler : IMAP_Client_FetchHandler -> unit

Parameters

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

seqSet (IMAP_SequenceSet)
  Sequence set of messages to fetch.

items (array<IMAP_Fetch_DataItem>[]()[][])
  Fetch items to fetch.

handler (IMAP_Client_FetchHandler)
  Fetch responses handler.

Exceptions

Exception | Condition
--- | ---
ArgumentNullException | Is raised when seqSet,items or handler is null reference.
ArgumentException | Is raised when any of the arguments has invalid value.
InvalidOperationException | Is raised when IMAP client is not in valid state(not-connected, not-authenticated or not-selected state).
IMAP_ClientException | Is raised when server refuses to complete this command and returns error.

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