ListMessagesByPageAsync

ImapClient.ListMessagesByPageAsync method (1 of 4)

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


ImapClient.ListMessagesByPageAsync method (2 of 4)

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


ImapClient.ListMessagesByPageAsync method (3 of 4)

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


ImapClient.ListMessagesByPageAsync method (4 of 4)

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