Imap.GetMessageListAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Imap.dll (version 7.0.9083)
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 |
---|---|---|
ImapMessageSet | messageSet | A set of messages. |
ImapListFields | fields | Specifies the scope of information to determine about each message. |
ImapPageView | 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<ImapMessageCollection> | A collection of ImapMessageInfo objects. |
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 |
---|---|---|
ImapMessageSet | messageSet | A set of messages. |
ImapListFields | 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<ImapMessageCollection> | A collection of ImapMessageInfo objects. |
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 |
---|---|---|
ImapListFields | 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<ImapMessageCollection> | A collection of ImapMessageInfo objects. |
Remarks
This method represents IMAP FETCH command.