ImapClient.ListMessagesByPageAsync

ListMessagesByPageAsync(int, int, PageSettings)

Gets the list of messages

public Task<ImapPageInfo> ListMessagesByPageAsync(int itemsPerPage, int pageOffset, 
    PageSettings settings)
ParameterTypeDescription
itemsPerPageInt32A number of items in page
pageOffsetInt32An offset of next page in view
settingsPageSettingsThe settings.

Return Value

Task object, with delegate for this operation

See Also


ListMessagesByPageAsync(MailQuery, PageInfo, PageSettings)

Gets the list of messages

public Task<ImapPageInfo> ListMessagesByPageAsync(MailQuery query, PageInfo pageInfo, 
    PageSettings settings)
ParameterTypeDescription
queryMailQueryMailQuery that represents search query.
pageInfoPageInfoThe next page to retrieve.
settingsPageSettingsThe settings.

Return Value

Task object, with delegate for this operation

See Also


ListMessagesByPageAsync(int, int, PageSettings, CancellationToken)

Gets the list of messages

public Task<ImapPageInfo> ListMessagesByPageAsync(int itemsPerPage, int pageOffset, 
    PageSettings settings, CancellationToken token)
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)
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