ImapClient.ListMessageAsync

ListMessageAsync(IConnection, int, IEnumerable<string>)

Gets information about a message.

public Task<ImapMessageInfo> ListMessageAsync(IConnection connection, int sequenceNumber, 
    IEnumerable<string> messageExtraFields)
ParameterTypeDescription
connectionIConnectionConnection to a server
sequenceNumberInt32The sequence number of message
messageExtraFieldsIEnumerable`1List of extra parameters for a message wich will be requested.

Return Value

Task object, with delegate for this operation

See Also


ListMessageAsync(IConnection, int)

Gets information about a message.

public Task<ImapMessageInfo> ListMessageAsync(IConnection connection, int sequenceNumber)
ParameterTypeDescription
connectionIConnectionConnection to a server
sequenceNumberInt32The sequence number of message

Return Value

Task object, with delegate for this operation

See Also


ListMessageAsync(int, IEnumerable<string>)

Gets information about a message.

public Task<ImapMessageInfo> ListMessageAsync(int sequenceNumber, 
    IEnumerable<string> messageExtraFields)
ParameterTypeDescription
sequenceNumberInt32The sequence number of message
messageExtraFieldsIEnumerable`1List of extra parameters for a message wich will be requested.

Return Value

Task object, with delegate for this operation

See Also


ListMessageAsync(int)

Gets information about a message.

public Task<ImapMessageInfo> ListMessageAsync(int sequenceNumber)
ParameterTypeDescription
sequenceNumberInt32The sequence number of message

Return Value

Task object, with delegate for this operation

See Also


ListMessageAsync(IConnection, string, IEnumerable<string>)

Gets information about a message.

public Task<ImapMessageInfo> ListMessageAsync(IConnection connection, string uniqueId, 
    IEnumerable<string> messageExtraFields)
ParameterTypeDescription
connectionIConnectionConnection to a server
uniqueIdStringThe unique Id of the message
messageExtraFieldsIEnumerable`1List of extra parameters for a message wich will be requested.

Return Value

Task object, with delegate for this operation

See Also


ListMessageAsync(IConnection, string)

Gets information about a message.

public Task<ImapMessageInfo> ListMessageAsync(IConnection connection, string uniqueId)
ParameterTypeDescription
connectionIConnectionConnection to a server
uniqueIdStringThe unique Id of the message

Return Value

Task object, with delegate for this operation

See Also


ListMessageAsync(string)

Gets information about a message.

public Task<ImapMessageInfo> ListMessageAsync(string uniqueId)
ParameterTypeDescription
uniqueIdStringThe unique Id of the message

Return Value

Task object, with delegate for this operation

See Also


ListMessageAsync(string, IEnumerable<string>)

Gets information about a message.

public Task<ImapMessageInfo> ListMessageAsync(string uniqueId, 
    IEnumerable<string> messageExtraFields)
ParameterTypeDescription
uniqueIdStringThe unique Id of the message
messageExtraFieldsIEnumerable`1List of extra parameters for a message wich will be requested.

Return Value

Task object, with delegate for this operation

See Also


ListMessageAsync(IConnection, int, IEnumerable<string>, CancellationToken)

Gets information about a message.

public Task<ImapMessageInfo> ListMessageAsync(IConnection connection, int sequenceNumber, 
    IEnumerable<string> messageExtraFields, CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
sequenceNumberInt32The sequence number of message
messageExtraFieldsIEnumerable`1List of extra parameters for a message wich will be requested.
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


ListMessageAsync(IConnection, int, CancellationToken)

Gets information about a message.

public Task<ImapMessageInfo> ListMessageAsync(IConnection connection, int sequenceNumber, 
    CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
sequenceNumberInt32The sequence number of message
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


ListMessageAsync(int, IEnumerable<string>, CancellationToken)

Gets information about a message.

public Task<ImapMessageInfo> ListMessageAsync(int sequenceNumber, 
    IEnumerable<string> messageExtraFields, CancellationToken token)
ParameterTypeDescription
sequenceNumberInt32The sequence number of message
messageExtraFieldsIEnumerable`1List of extra parameters for a message wich will be requested.
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


ListMessageAsync(int, CancellationToken)

Gets information about a message.

public Task<ImapMessageInfo> ListMessageAsync(int sequenceNumber, CancellationToken token)
ParameterTypeDescription
sequenceNumberInt32The sequence number of message
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


ListMessageAsync(IConnection, string, IEnumerable<string>, CancellationToken)

Gets information about a message.

public Task<ImapMessageInfo> ListMessageAsync(IConnection connection, string uniqueId, 
    IEnumerable<string> messageExtraFields, CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
uniqueIdStringThe unique Id of the message
messageExtraFieldsIEnumerable`1List of extra parameters for a message wich will be requested.
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


ListMessageAsync(IConnection, string, CancellationToken)

Gets information about a message.

public Task<ImapMessageInfo> ListMessageAsync(IConnection connection, string uniqueId, 
    CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
uniqueIdStringThe unique Id of the message
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


ListMessageAsync(string, CancellationToken)

Gets information about a message.

public Task<ImapMessageInfo> ListMessageAsync(string uniqueId, CancellationToken token)
ParameterTypeDescription
uniqueIdStringThe unique Id of the message
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


ListMessageAsync(string, IEnumerable<string>, CancellationToken)

Gets information about a message.

public Task<ImapMessageInfo> ListMessageAsync(string uniqueId, 
    IEnumerable<string> messageExtraFields, CancellationToken token)
ParameterTypeDescription
uniqueIdStringThe unique Id of the message
messageExtraFieldsIEnumerable`1List of extra parameters for a message wich will be requested.
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also