ImapClient.UndeleteMessageAsync

UndeleteMessageAsync(IConnection, int)

Marks a message with the specified sequence number as not deleted

public Task UndeleteMessageAsync(IConnection connection, int sequenceNumber)
ParameterTypeDescription
connectionIConnectionConnection to a server
sequenceNumberInt32The sequence number of the message

Return Value

Task object, with delegate for this operation

See Also


UndeleteMessageAsync(IConnection, string)

Marks a message with the specified sequence number as not deleted.

public Task UndeleteMessageAsync(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


UndeleteMessageAsync(int)

Marks a message with the specified sequence number as not deleted

public Task UndeleteMessageAsync(int sequenceNumber)
ParameterTypeDescription
sequenceNumberInt32The sequence number of the message

Return Value

Task object, with delegate for this operation

See Also


UndeleteMessageAsync(string)

Marks a message with the specified sequence number as not deleted.

public Task UndeleteMessageAsync(string uniqueId)
ParameterTypeDescription
uniqueIdStringThe unique Id of the message

Return Value

Task object, with delegate for this operation

See Also


UndeleteMessageAsync(IConnection, int, long)

Marks a message with the specified sequence number as not deleted

public Task UndeleteMessageAsync(IConnection connection, int sequenceNumber, 
    long modificationSequence)
ParameterTypeDescription
connectionIConnectionConnection to a server
sequenceNumberInt32The sequence number of the message
modificationSequenceInt64Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162

Return Value

Task object, with delegate for this operation

See Also


UndeleteMessageAsync(IConnection, string, long)

Marks a message with the specified sequence number as not deleted.

public Task UndeleteMessageAsync(IConnection connection, string uniqueId, long modificationSequence)
ParameterTypeDescription
connectionIConnectionConnection to a server
uniqueIdStringThe unique Id of the message
modificationSequenceInt64Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162

Return Value

Task object, with delegate for this operation

See Also


UndeleteMessageAsync(int, long)

Marks a message with the specified sequence number as not deleted

public Task UndeleteMessageAsync(int sequenceNumber, long modificationSequence)
ParameterTypeDescription
sequenceNumberInt32The sequence number of the message
modificationSequenceInt64Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162

Return Value

Task object, with delegate for this operation

See Also


UndeleteMessageAsync(string, long)

Marks a message with the specified sequence number as not deleted.

public Task UndeleteMessageAsync(string uniqueId, long modificationSequence)
ParameterTypeDescription
uniqueIdStringThe unique Id of the message
modificationSequenceInt64Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162

Return Value

Task object, with delegate for this operation

See Also


UndeleteMessageAsync(IConnection, int, CancellationToken)

Marks a message with the specified sequence number as not deleted

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

Return Value

Task object, with delegate for this operation

See Also


UndeleteMessageAsync(IConnection, string, CancellationToken)

Marks a message with the specified sequence number as not deleted.

public Task UndeleteMessageAsync(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


UndeleteMessageAsync(int, CancellationToken)

Marks a message with the specified sequence number as not deleted

public Task UndeleteMessageAsync(int sequenceNumber, CancellationToken token)
ParameterTypeDescription
sequenceNumberInt32The sequence number of the message
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


UndeleteMessageAsync(string, CancellationToken)

Marks a message with the specified sequence number as not deleted.

public Task UndeleteMessageAsync(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


UndeleteMessageAsync(IConnection, int, long, CancellationToken)

Marks a message with the specified sequence number as not deleted

public Task UndeleteMessageAsync(IConnection connection, int sequenceNumber, 
    long modificationSequence, CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
sequenceNumberInt32The sequence number of the message
modificationSequenceInt64Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


UndeleteMessageAsync(IConnection, string, long, CancellationToken)

Marks a message with the specified sequence number as not deleted.

public Task UndeleteMessageAsync(IConnection connection, string uniqueId, 
    long modificationSequence, CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
uniqueIdStringThe unique Id of the message
modificationSequenceInt64Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


UndeleteMessageAsync(int, long, CancellationToken)

Marks a message with the specified sequence number as not deleted

public Task UndeleteMessageAsync(int sequenceNumber, long modificationSequence, 
    CancellationToken token)
ParameterTypeDescription
sequenceNumberInt32The sequence number of the message
modificationSequenceInt64Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


UndeleteMessageAsync(string, long, CancellationToken)

Marks a message with the specified sequence number as not deleted.

public Task UndeleteMessageAsync(string uniqueId, long modificationSequence, 
    CancellationToken token)
ParameterTypeDescription
uniqueIdStringThe unique Id of the message
modificationSequenceInt64Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also