Default constructor.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public FetchAsyncOP( bool uid, IMAP_t_SeqSet seqSet, IMAP_t_Fetch_i[] items, EventHandler<EventArgs<IMAP_r_u>> callback )
Public Sub New ( uid As Boolean, seqSet As IMAP_t_SeqSet, items As IMAP_t_Fetch_i(), callback As EventHandler(Of EventArgs(Of IMAP_r_u)) )
public: FetchAsyncOP( bool uid, IMAP_t_SeqSet^ seqSet, array<IMAP_t_Fetch_i^>^ items, EventHandler<EventArgs<IMAP_r_u^>^>^ callback )
new : uid : bool * seqSet : IMAP_t_SeqSet * items : IMAP_t_Fetch_i[] * callback : EventHandler<EventArgs<IMAP_r_u>> -> FetchAsyncOP
Parameters
- uid (Boolean)
- Specifies if argument seqSet contains messages UID or sequence numbers.
- seqSet (IMAP_t_SeqSet)
- Sequence set of messages to fetch.
- items (array<IMAP_t_Fetch_i>[]()[][])
- Fetch items to fetch.
- 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 seqSet or items 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