ImapClient.MoveMessageAsync

MoveMessageAsync(IConnection, int, string, bool)

Moves the messaeg

public Task<string> MoveMessageAsync(IConnection connection, int sequenceNumber, string folderName, 
    bool commitDeletions)
ParameterTypeDescription
connectionIConnectionConnection to a server
sequenceNumberInt32The sequence number of the message
folderNameStringFolder name where a message is to be moved
commitDeletionsBooleanSpecifies whether deletions should be committed.

Return Value

Task object, with delegate for this operation

See Also


MoveMessageAsync(IConnection, string, string, bool)

Moves the message

public Task<string> MoveMessageAsync(IConnection connection, string uniqueId, string folderName, 
    bool commitDeletions)
ParameterTypeDescription
connectionIConnectionConnection to a server
uniqueIdStringThe uid of the message
folderNameStringFolder name where a message is to be moved
commitDeletionsBooleanSpecifies whether deletions should be committed.

Return Value

Task object, with delegate for this operation

See Also


MoveMessageAsync(int, string, bool)

Moves the message

public Task<string> MoveMessageAsync(int sequenceNumber, string folderName, bool commitDeletions)
ParameterTypeDescription
sequenceNumberInt32The sequence number of the message
folderNameStringFolder name where a message is to be moved
commitDeletionsBooleanSpecifies whether deletions should be committed.

Return Value

Task object, with delegate for this operation

See Also


MoveMessageAsync(string, string, bool)

Moves the message

public Task<string> MoveMessageAsync(string uniqueId, string folderName, bool commitDeletions)
ParameterTypeDescription
uniqueIdStringThe uid of the message
folderNameStringFolder name where a message is to be moved
commitDeletionsBooleanSpecifies whether deletions should be committed.

Return Value

Task object, with delegate for this operation

See Also


MoveMessageAsync(IConnection, int, string)

Moves the messaeg

public Task<string> MoveMessageAsync(IConnection connection, int sequenceNumber, string folderName)
ParameterTypeDescription
connectionIConnectionConnection to a server
sequenceNumberInt32The sequence number of the message
folderNameStringFolder name where a message is to be moved

Return Value

Task object, with delegate for this operation

See Also


MoveMessageAsync(IConnection, string, string)

Moves the message

public Task<string> MoveMessageAsync(IConnection connection, string uniqueId, string folderName)
ParameterTypeDescription
connectionIConnectionConnection to a server
uniqueIdStringThe uid of the message
folderNameStringFolder name where a message is to be moved

Return Value

Task object, with delegate for this operation

See Also


MoveMessageAsync(int, string)

Moves the message

public Task<string> MoveMessageAsync(int sequenceNumber, string folderName)
ParameterTypeDescription
sequenceNumberInt32The sequence number of the message
folderNameStringFolder name where a message is to be moved

Return Value

Task object, with delegate for this operation

See Also


MoveMessageAsync(string, string)

Moves the message

public Task<string> MoveMessageAsync(string uniqueId, string folderName)
ParameterTypeDescription
uniqueIdStringThe uid of the message
folderNameStringFolder name where a message is to be moved

Return Value

Task object, with delegate for this operation

See Also


MoveMessageAsync(IConnection, int, string, bool, CancellationToken)

Moves the messaeg

public Task<string> MoveMessageAsync(IConnection connection, int sequenceNumber, string folderName, 
    bool commitDeletions, CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
sequenceNumberInt32The sequence number of the message
folderNameStringFolder name where a message is to be moved
commitDeletionsBooleanSpecifies whether deletions should be committed.
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


MoveMessageAsync(IConnection, string, string, bool, CancellationToken)

Moves the message

public Task<string> MoveMessageAsync(IConnection connection, string uniqueId, string folderName, 
    bool commitDeletions, CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
uniqueIdStringThe uid of the message
folderNameStringFolder name where a message is to be moved
commitDeletionsBooleanSpecifies whether deletions should be committed.
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


MoveMessageAsync(int, string, bool, CancellationToken)

Moves the message

public Task<string> MoveMessageAsync(int sequenceNumber, string folderName, bool commitDeletions, 
    CancellationToken token)
ParameterTypeDescription
sequenceNumberInt32The sequence number of the message
folderNameStringFolder name where a message is to be moved
commitDeletionsBooleanSpecifies whether deletions should be committed.
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


MoveMessageAsync(string, string, bool, CancellationToken)

Moves the message

public Task<string> MoveMessageAsync(string uniqueId, string folderName, bool commitDeletions, 
    CancellationToken token)
ParameterTypeDescription
uniqueIdStringThe uid of the message
folderNameStringFolder name where a message is to be moved
commitDeletionsBooleanSpecifies whether deletions should be committed.
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


MoveMessageAsync(IConnection, int, string, CancellationToken)

Moves the messaeg

public Task<string> MoveMessageAsync(IConnection connection, int sequenceNumber, string folderName, 
    CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
sequenceNumberInt32The sequence number of the message
folderNameStringFolder name where a message is to be moved
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


MoveMessageAsync(IConnection, string, string, CancellationToken)

Moves the message

public Task<string> MoveMessageAsync(IConnection connection, string uniqueId, string folderName, 
    CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
uniqueIdStringThe uid of the message
folderNameStringFolder name where a message is to be moved
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


MoveMessageAsync(int, string, CancellationToken)

Moves the message

public Task<string> MoveMessageAsync(int sequenceNumber, string folderName, CancellationToken token)
ParameterTypeDescription
sequenceNumberInt32The sequence number of the message
folderNameStringFolder name where a message is to be moved
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


MoveMessageAsync(string, string, CancellationToken)

Moves the message

public Task<string> MoveMessageAsync(string uniqueId, string folderName, CancellationToken token)
ParameterTypeDescription
uniqueIdStringThe uid of the message
folderNameStringFolder name where a message is to be moved
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also