Pop3Client.FetchMessagesAsync

FetchMessagesAsync(IEnumerable<int>)

Fetches the messages asynchronously

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

Return Value

Task object, with delegate for this operation

See Also


FetchMessagesAsync(IEnumerable<string>)

Fetches the messages asynchronously

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

Return Value

Task object, with delegate for this operation

See Also


FetchMessagesAsync(IConnection, IEnumerable<int>)

Fetches the messages asynchronously

public Task<IList<MailMessage>> FetchMessagesAsync(IConnection connection, 
    IEnumerable<int> sequenceNumbers)
ParameterTypeDescription
connectionIConnectionConnection to a server
sequenceNumbersIEnumerable`1The sequence numbers of the messages

Return Value

Task object, with delegate for this operation

See Also


FetchMessagesAsync(IConnection, IEnumerable<string>)

Fetches the messages asynchronously

public Task<IList<MailMessage>> FetchMessagesAsync(IConnection connection, IEnumerable<string> uids)
ParameterTypeDescription
connectionIConnectionConnection to a server
uidsIEnumerable`1The sequence numbers of the messages

Return Value

Task object, with delegate for this operation

See Also


FetchMessagesAsync(IEnumerable<int>, CancellationToken)

Fetches the messages asynchronously

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

Return Value

Task object, with delegate for this operation

See Also


FetchMessagesAsync(IEnumerable<string>, CancellationToken)

Fetches the messages asynchronously

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

Return Value

Task object, with delegate for this operation

See Also


FetchMessagesAsync(IConnection, IEnumerable<int>, CancellationToken)

Fetches the messages asynchronously

public Task<IList<MailMessage>> FetchMessagesAsync(IConnection connection, 
    IEnumerable<int> sequenceNumbers, CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
sequenceNumbersIEnumerable`1The sequence numbers of the messages
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


FetchMessagesAsync(IConnection, IEnumerable<string>, CancellationToken)

Fetches the messages asynchronously

public Task<IList<MailMessage>> FetchMessagesAsync(IConnection connection, 
    IEnumerable<string> uids, CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
uidsIEnumerable`1The sequence numbers of the messages
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also