IAsyncImapClient.ListMessagesByPageAsync
Contents
[
Hide
]ListMessagesByPageAsync(int, int, PageSettings, CancellationToken)
Gets the list of messages
public Task<ImapPageInfo> ListMessagesByPageAsync(int itemsPerPage, int pageOffset,
PageSettings settings, CancellationToken token = default)
Parameter | Type | Description |
---|---|---|
itemsPerPage | Int32 | A number of items in page |
pageOffset | Int32 | An offset of next page in view |
settings | PageSettings | The settings. |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class ImapPageInfo
- class PageSettings
- interface IAsyncImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ListMessagesByPageAsync(MailQuery, PageInfo, PageSettings, CancellationToken)
Gets the list of messages
public Task<ImapPageInfo> ListMessagesByPageAsync(MailQuery query, PageInfo pageInfo,
PageSettings settings, CancellationToken token = default)
Parameter | Type | Description |
---|---|---|
query | MailQuery | MailQuery that represents search query. |
pageInfo | PageInfo | The next page to retrieve. |
settings | PageSettings | The settings. |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class ImapPageInfo
- class MailQuery
- class PageInfo
- class PageSettings
- interface IAsyncImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email