IAsyncImapClient.ListMessagesByPageAsync

ListMessagesByPageAsync(int, int, PageSettings, CancellationToken)

Gets the list of messages

public Task<ImapPageInfo> ListMessagesByPageAsync(int itemsPerPage, int pageOffset, 
    PageSettings settings, CancellationToken token = default)
ParameterTypeDescription
itemsPerPageInt32A number of items in page
pageOffsetInt32An offset of next page in view
settingsPageSettingsThe settings.
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


ListMessagesByPageAsync(MailQuery, PageInfo, PageSettings, CancellationToken)

Gets the list of messages

public Task<ImapPageInfo> ListMessagesByPageAsync(MailQuery query, PageInfo pageInfo, 
    PageSettings settings, CancellationToken token = default)
ParameterTypeDescription
queryMailQueryMailQuery that represents search query.
pageInfoPageInfoThe next page to retrieve.
settingsPageSettingsThe settings.
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also