FetchMessagesAsync

ImapClient.FetchMessagesAsync method (1 of 8)

Fetches the messages asynchronously

public Task<IList<MailMessage>> FetchMessagesAsync(IEnumerable<int> sequenceNumbers)
Parameter Type Description
sequenceNumbers IEnumerable`1 The sequence numbers of the messages

Return Value

Task object, with delegate for this operation

See Also


ImapClient.FetchMessagesAsync method (2 of 8)

Fetches the messages asynchronously

public Task<IList<MailMessage>> FetchMessagesAsync(IEnumerable<string> uids)
Parameter Type Description
uids IEnumerable`1 The sequence numbers of the messages

Return Value

Task object, with delegate for this operation

See Also


ImapClient.FetchMessagesAsync method (3 of 8)

Fetches the messages asynchronously

public Task<IList<MailMessage>> FetchMessagesAsync(IConnection connection, 
    IEnumerable<int> sequenceNumbers)
Parameter Type Description
connection IConnection Connection to a server
sequenceNumbers IEnumerable`1 The sequence numbers of the messages

Return Value

Task object, with delegate for this operation

See Also


ImapClient.FetchMessagesAsync method (4 of 8)

Fetches the messages asynchronously

public Task<IList<MailMessage>> FetchMessagesAsync(IConnection connection, IEnumerable<string> uids)
Parameter Type Description
connection IConnection Connection to a server
uids IEnumerable`1 The sequence numbers of the messages

Return Value

Task object, with delegate for this operation

See Also


ImapClient.FetchMessagesAsync method (5 of 8)

Fetches the messages asynchronously

public Task<IList<MailMessage>> FetchMessagesAsync(IEnumerable<int> sequenceNumbers, 
    CancellationToken token)
Parameter Type Description
sequenceNumbers IEnumerable`1 The sequence numbers of the messages
token CancellationToken Propagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


ImapClient.FetchMessagesAsync method (6 of 8)

Fetches the messages asynchronously

public Task<IList<MailMessage>> FetchMessagesAsync(IEnumerable<string> uids, 
    CancellationToken token)
Parameter Type Description
uids IEnumerable`1 The sequence numbers of the messages
token CancellationToken Propagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


ImapClient.FetchMessagesAsync method (7 of 8)

Fetches the messages asynchronously

public Task<IList<MailMessage>> FetchMessagesAsync(IConnection connection, 
    IEnumerable<int> sequenceNumbers, CancellationToken token)
Parameter Type Description
connection IConnection Connection to a server
sequenceNumbers IEnumerable`1 The sequence numbers of the messages
token CancellationToken Propagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


ImapClient.FetchMessagesAsync method (8 of 8)

Fetches the messages asynchronously

public Task<IList<MailMessage>> FetchMessagesAsync(IConnection connection, 
    IEnumerable<string> uids, CancellationToken token)
Parameter Type Description
connection IConnection Connection to a server
uids IEnumerable`1 The sequence numbers of the messages
token CancellationToken Propagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also