Imap.GetMessageListAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Imap.dll (version 7.0.9147)
GetMessageListAsync(ImapMessageSet, ImapListFields, ImapPageView, Object)
Begins asynchronous GetMessageList operation. Gets the list of messages in the current folder that belong to a specified message set.
Declaration
public Task<ImapMessageCollection> GetMessageListAsync(ImapMessageSet messageSet, ImapListFields fields, ImapPageView pageView, object state = null)
Parameters
Type | Name | Description |
---|---|---|
Imap |
messageSet | A set of messages. |
Imap |
fields | Specifies the scope of information to determine about each message. |
Imap |
pageView | Paging definition. Only supported by servers that support the PARTIAL extension. |
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
Type | Description |
---|---|
Task<Imap |
A collection of Imap |
Remarks
This method represents IMAP FETCH command.
GetMessageListAsync(ImapMessageSet, ImapListFields, Object)
Begins asynchronous GetMessageList operation. Gets the list of messages in the current folder that belong to a specified message set.
Declaration
public Task<ImapMessageCollection> GetMessageListAsync(ImapMessageSet messageSet, ImapListFields fields, object state = null)
Parameters
Type | Name | Description |
---|---|---|
Imap |
messageSet | A set of messages. |
Imap |
fields | Specifies the scope of information to determine about each message. |
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
Type | Description |
---|---|
Task<Imap |
A collection of Imap |
Remarks
This method represents IMAP FETCH command.
GetMessageListAsync(ImapListFields, Object)
Begins asynchronous GetMessageList operation. Gets the list of messages in the current folder.
Declaration
public Task<ImapMessageCollection> GetMessageListAsync(ImapListFields fields, object state = null)
Parameters
Type | Name | Description |
---|---|---|
Imap |
fields | Specifies the scope of information to determine about each message. |
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
Type | Description |
---|---|
Task<Imap |
A collection of Imap |
Remarks
This method represents IMAP FETCH command.