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