ImapClient.ChangeMessageFlagsAsync

Contents
[ ]

ChangeMessageFlagsAsync(string, ImapMessageFlags)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(string uniqueId, ImapMessageFlags flags)
ParameterTypeDescription
uniqueIdStringThe uid of the message
flagsImapMessageFlagsThe flags to be changed

Return Value

Task object, with delegate for this operation

See Also


ChangeMessageFlagsAsync(int, ImapMessageFlags)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(int sequenceNumber, ImapMessageFlags flags)
ParameterTypeDescription
sequenceNumberInt32The sequence number of the message
flagsImapMessageFlagsThe flags to be removed

Return Value

Task object, with delegate for this operation

See Also


ChangeMessageFlagsAsync(IConnection, string, ImapMessageFlags)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(IConnection connection, string uniqueId, ImapMessageFlags flags)
ParameterTypeDescription
connectionIConnectionConnection to a server
uniqueIdStringThe uid of the message
flagsImapMessageFlagsThe flags to be changed

Return Value

Task object, with delegate for this operation

See Also


ChangeMessageFlagsAsync(IConnection, int, ImapMessageFlags)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(IConnection connection, int sequenceNumber, 
    ImapMessageFlags flags)
ParameterTypeDescription
connectionIConnectionConnection to a server
sequenceNumberInt32The sequence number of the message
flagsImapMessageFlagsThe flags to be removed

Return Value

Task object, with delegate for this operation

See Also


ChangeMessageFlagsAsync(string, ImapMessageFlags, long)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(string uniqueId, ImapMessageFlags flags, 
    long modificationSequence)
ParameterTypeDescription
uniqueIdStringThe uid of the message
flagsImapMessageFlagsThe flags to be changed
modificationSequenceInt64Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162

Return Value

Task object, with delegate for this operation

See Also


ChangeMessageFlagsAsync(int, ImapMessageFlags, long)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(int sequenceNumber, ImapMessageFlags flags, 
    long modificationSequence)
ParameterTypeDescription
sequenceNumberInt32The sequence number of the message
flagsImapMessageFlagsThe flags to be removed
modificationSequenceInt64Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162

Return Value

Task object, with delegate for this operation

See Also


ChangeMessageFlagsAsync(IConnection, string, ImapMessageFlags, long)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(IConnection connection, string uniqueId, 
    ImapMessageFlags flags, long modificationSequence)
ParameterTypeDescription
connectionIConnectionConnection to a server
uniqueIdStringThe uid of the message
flagsImapMessageFlagsThe flags to be changed
modificationSequenceInt64Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162

Return Value

Task object, with delegate for this operation

See Also


ChangeMessageFlagsAsync(IConnection, int, ImapMessageFlags, long)

Changes the flags of the message

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

Return Value

Task object, with delegate for this operation

See Also


ChangeMessageFlagsAsync(string, string, ImapMessageFlags)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(string startUid, string endUid, ImapMessageFlags flags)
ParameterTypeDescription
startUidStringThe starting UID of a message list
endUidStringThe ending UID of a message list
flagsImapMessageFlagsThe flags to be changed

Return Value

Task object, with delegate for this operation

See Also


ChangeMessageFlagsAsync(int, int, ImapMessageFlags)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(int startSequence, int endSequence, ImapMessageFlags flags)
ParameterTypeDescription
startSequenceInt32The starting sequence number of a message list
endSequenceInt32The ending sequence number of a message list
flagsImapMessageFlagsThe flags to be removed

Return Value

Task object, with delegate for this operation

See Also


ChangeMessageFlagsAsync(IConnection, string, string, ImapMessageFlags)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(IConnection connection, string startUid, string endUid, 
    ImapMessageFlags flags)
ParameterTypeDescription
connectionIConnectionConnection to a server
startUidStringThe starting UID of a message list
endUidStringThe ending UID of a message list
flagsImapMessageFlagsThe flags to be changed

Return Value

Task object, with delegate for this operation

See Also


ChangeMessageFlagsAsync(IConnection, int, int, ImapMessageFlags)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(IConnection connection, int startSequence, int endSequence, 
    ImapMessageFlags flags)
ParameterTypeDescription
connectionIConnectionConnection to a server
startSequenceInt32The starting sequence number of a message list
endSequenceInt32The ending sequence number of a message list
flagsImapMessageFlagsThe flags to be removed

Return Value

Task object, with delegate for this operation

See Also


ChangeMessageFlagsAsync(string, string, ImapMessageFlags, long)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(string startUid, string endUid, ImapMessageFlags flags, 
    long modificationSequence)
ParameterTypeDescription
startUidStringThe starting UID of a message list
endUidStringThe ending UID of a message list
flagsImapMessageFlagsThe flags to be changed
modificationSequenceInt64Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162

Return Value

Task object, with delegate for this operation

See Also


ChangeMessageFlagsAsync(int, int, ImapMessageFlags, long)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(int startSequence, int endSequence, ImapMessageFlags flags, 
    long modificationSequence)
ParameterTypeDescription
startSequenceInt32The starting sequence number of a message list
endSequenceInt32The ending sequence number of a message list
flagsImapMessageFlagsThe flags to be removed
modificationSequenceInt64Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162

Return Value

Task object, with delegate for this operation

See Also


ChangeMessageFlagsAsync(IConnection, string, string, ImapMessageFlags, long)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(IConnection connection, string startUid, string endUid, 
    ImapMessageFlags flags, long modificationSequence)
ParameterTypeDescription
connectionIConnectionConnection to a server
startUidStringThe starting UID of a message list
endUidStringThe ending UID of a message list
flagsImapMessageFlagsThe flags to be changed
modificationSequenceInt64Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162

Return Value

Task object, with delegate for this operation

See Also


ChangeMessageFlagsAsync(IConnection, int, int, ImapMessageFlags, long)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(IConnection connection, int startSequence, int endSequence, 
    ImapMessageFlags flags, long modificationSequence)
ParameterTypeDescription
connectionIConnectionConnection to a server
startSequenceInt32The starting sequence number of a message list
endSequenceInt32The ending sequence number of a message list
flagsImapMessageFlagsThe flags to be removed
modificationSequenceInt64Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162

Return Value

Task object, with delegate for this operation

See Also


ChangeMessageFlagsAsync(IEnumerable<string>, ImapMessageFlags)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(IEnumerable<string> uidSet, ImapMessageFlags flags)
ParameterTypeDescription
uidSetIEnumerable`1The set of UID for messages
flagsImapMessageFlagsThe flags to be changed

Return Value

Task object, with delegate for this operation

See Also


ChangeMessageFlagsAsync(IEnumerable<int>, ImapMessageFlags)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(IEnumerable<int> sequenceSet, ImapMessageFlags flags)
ParameterTypeDescription
sequenceSetIEnumerable`1The set of sequence numbers for messages
flagsImapMessageFlagsThe flags to be removed

Return Value

Task object, with delegate for this operation

See Also


ChangeMessageFlagsAsync(IConnection, IEnumerable<string>, ImapMessageFlags)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(IConnection connection, IEnumerable<string> uidSet, 
    ImapMessageFlags flags)
ParameterTypeDescription
connectionIConnectionConnection to a server
uidSetIEnumerable`1The set of UID for messages
flagsImapMessageFlagsThe flags to be changed

Return Value

Task object, with delegate for this operation

See Also


ChangeMessageFlagsAsync(IConnection, IEnumerable<int>, ImapMessageFlags)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(IConnection connection, IEnumerable<int> sequenceSet, 
    ImapMessageFlags flags)
ParameterTypeDescription
connectionIConnectionConnection to a server
sequenceSetIEnumerable`1The set of sequence numbers for messages
flagsImapMessageFlagsThe flags to be removed

Return Value

Task object, with delegate for this operation

See Also


ChangeMessageFlagsAsync(IEnumerable<string>, ImapMessageFlags, long)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(IEnumerable<string> uidSet, ImapMessageFlags flags, 
    long modificationSequence)
ParameterTypeDescription
uidSetIEnumerable`1The set of UID for messages
flagsImapMessageFlagsThe flags to be changed
modificationSequenceInt64Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162

Return Value

Task object, with delegate for this operation

See Also


ChangeMessageFlagsAsync(IEnumerable<int>, ImapMessageFlags, long)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(IEnumerable<int> sequenceSet, ImapMessageFlags flags, 
    long modificationSequence)
ParameterTypeDescription
sequenceSetIEnumerable`1The set of sequence numbers for messages
flagsImapMessageFlagsThe flags to be removed
modificationSequenceInt64Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162

Return Value

Task object, with delegate for this operation

See Also


ChangeMessageFlagsAsync(IConnection, IEnumerable<string>, ImapMessageFlags, long)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(IConnection connection, IEnumerable<string> uidSet, 
    ImapMessageFlags flags, long modificationSequence)
ParameterTypeDescription
connectionIConnectionConnection to a server
uidSetIEnumerable`1The set of UID for messages
flagsImapMessageFlagsThe flags to be changed
modificationSequenceInt64Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162

Return Value

Task object, with delegate for this operation

See Also


ChangeMessageFlagsAsync(IConnection, IEnumerable<int>, ImapMessageFlags, long)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(IConnection connection, IEnumerable<int> sequenceSet, 
    ImapMessageFlags flags, long modificationSequence)
ParameterTypeDescription
connectionIConnectionConnection to a server
sequenceSetIEnumerable`1The set of sequence numbers for messages
flagsImapMessageFlagsThe flags to be removed
modificationSequenceInt64Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162

Return Value

Task object, with delegate for this operation

See Also


ChangeMessageFlagsAsync(IEnumerable<ImapMessageInfo>, ImapMessageFlags)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(IEnumerable<ImapMessageInfo> messageInfoSet, 
    ImapMessageFlags flags)
ParameterTypeDescription
messageInfoSetIEnumerable`1The set of ImapMessageInfo
flagsImapMessageFlagsThe flags to be changed

Return Value

Task object, with delegate for this operation

See Also


ChangeMessageFlagsAsync(IConnection, IEnumerable<ImapMessageInfo>, ImapMessageFlags)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(IConnection connection, 
    IEnumerable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags)
ParameterTypeDescription
connectionIConnectionConnection to a server
messageInfoSetIEnumerable`1The set of ImapMessageInfo
flagsImapMessageFlagsThe flags to be changed

Return Value

Task object, with delegate for this operation

See Also


ChangeMessageFlagsAsync(IEnumerable<ImapMessageInfo>, ImapMessageFlags, long)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(IEnumerable<ImapMessageInfo> messageInfoSet, 
    ImapMessageFlags flags, long modificationSequence)
ParameterTypeDescription
messageInfoSetIEnumerable`1The set of ImapMessageInfo
flagsImapMessageFlagsThe flags to be changed
modificationSequenceInt64Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162

Return Value

Task object, with delegate for this operation

See Also


ChangeMessageFlagsAsync(IConnection, IEnumerable<ImapMessageInfo>, ImapMessageFlags, long)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(IConnection connection, 
    IEnumerable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags, long modificationSequence)
ParameterTypeDescription
connectionIConnectionConnection to a server
messageInfoSetIEnumerable`1The set of ImapMessageInfo
flagsImapMessageFlagsThe flags to be changed
modificationSequenceInt64Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162

Return Value

Task object, with delegate for this operation

See Also


ChangeMessageFlagsAsync(string, ImapMessageFlags, CancellationToken)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(string uniqueId, ImapMessageFlags flags, 
    CancellationToken token)
ParameterTypeDescription
uniqueIdStringThe uid of the message
flagsImapMessageFlagsThe flags to be changed
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


ChangeMessageFlagsAsync(int, ImapMessageFlags, CancellationToken)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(int sequenceNumber, ImapMessageFlags flags, 
    CancellationToken token)
ParameterTypeDescription
sequenceNumberInt32The sequence number of the message
flagsImapMessageFlagsThe flags to be removed
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


ChangeMessageFlagsAsync(IConnection, string, ImapMessageFlags, CancellationToken)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(IConnection connection, string uniqueId, 
    ImapMessageFlags flags, CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
uniqueIdStringThe uid of the message
flagsImapMessageFlagsThe flags to be changed
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


ChangeMessageFlagsAsync(IConnection, int, ImapMessageFlags, CancellationToken)

Changes the flags of the message

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

Return Value

Task object, with delegate for this operation

See Also


ChangeMessageFlagsAsync(string, ImapMessageFlags, long, CancellationToken)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(string uniqueId, ImapMessageFlags flags, 
    long modificationSequence, CancellationToken token)
ParameterTypeDescription
uniqueIdStringThe uid of the message
flagsImapMessageFlagsThe flags to be changed
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


ChangeMessageFlagsAsync(int, ImapMessageFlags, long, CancellationToken)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(int sequenceNumber, ImapMessageFlags flags, 
    long modificationSequence, CancellationToken token)
ParameterTypeDescription
sequenceNumberInt32The sequence number of the message
flagsImapMessageFlagsThe flags to be removed
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


ChangeMessageFlagsAsync(IConnection, string, ImapMessageFlags, long, CancellationToken)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(IConnection connection, string uniqueId, 
    ImapMessageFlags flags, long modificationSequence, CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
uniqueIdStringThe uid of the message
flagsImapMessageFlagsThe flags to be changed
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


ChangeMessageFlagsAsync(IConnection, int, ImapMessageFlags, long, CancellationToken)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(IConnection connection, int sequenceNumber, 
    ImapMessageFlags flags, long modificationSequence, CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
sequenceNumberInt32The sequence number of the message
flagsImapMessageFlagsThe flags to be removed
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


ChangeMessageFlagsAsync(string, string, ImapMessageFlags, CancellationToken)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(string startUid, string endUid, ImapMessageFlags flags, 
    CancellationToken token)
ParameterTypeDescription
startUidStringThe starting UID of a message list
endUidStringThe ending UID of a message list
flagsImapMessageFlagsThe flags to be changed
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


ChangeMessageFlagsAsync(int, int, ImapMessageFlags, CancellationToken)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(int startSequence, int endSequence, ImapMessageFlags flags, 
    CancellationToken token)
ParameterTypeDescription
startSequenceInt32The starting sequence number of a message list
endSequenceInt32The ending sequence number of a message list
flagsImapMessageFlagsThe flags to be removed
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


ChangeMessageFlagsAsync(IConnection, string, string, ImapMessageFlags, CancellationToken)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(IConnection connection, string startUid, string endUid, 
    ImapMessageFlags flags, CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
startUidStringThe starting UID of a message list
endUidStringThe ending UID of a message list
flagsImapMessageFlagsThe flags to be changed
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


ChangeMessageFlagsAsync(IConnection, int, int, ImapMessageFlags, CancellationToken)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(IConnection connection, int startSequence, int endSequence, 
    ImapMessageFlags flags, CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
startSequenceInt32The starting sequence number of a message list
endSequenceInt32The ending sequence number of a message list
flagsImapMessageFlagsThe flags to be removed
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


ChangeMessageFlagsAsync(string, string, ImapMessageFlags, long, CancellationToken)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(string startUid, string endUid, ImapMessageFlags flags, 
    long modificationSequence, CancellationToken token)
ParameterTypeDescription
startUidStringThe starting UID of a message list
endUidStringThe ending UID of a message list
flagsImapMessageFlagsThe flags to be changed
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


ChangeMessageFlagsAsync(int, int, ImapMessageFlags, long, CancellationToken)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(int startSequence, int endSequence, ImapMessageFlags flags, 
    long modificationSequence, CancellationToken token)
ParameterTypeDescription
startSequenceInt32The starting sequence number of a message list
endSequenceInt32The ending sequence number of a message list
flagsImapMessageFlagsThe flags to be removed
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


ChangeMessageFlagsAsync(IConnection, string, string, ImapMessageFlags, long, CancellationToken)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(IConnection connection, string startUid, string endUid, 
    ImapMessageFlags flags, long modificationSequence, CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
startUidStringThe starting UID of a message list
endUidStringThe ending UID of a message list
flagsImapMessageFlagsThe flags to be changed
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


ChangeMessageFlagsAsync(IConnection, int, int, ImapMessageFlags, long, CancellationToken)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(IConnection connection, int startSequence, int endSequence, 
    ImapMessageFlags flags, long modificationSequence, CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
startSequenceInt32The starting sequence number of a message list
endSequenceInt32The ending sequence number of a message list
flagsImapMessageFlagsThe flags to be removed
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


ChangeMessageFlagsAsync(IEnumerable<string>, ImapMessageFlags, CancellationToken)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(IEnumerable<string> uidSet, ImapMessageFlags flags, 
    CancellationToken token)
ParameterTypeDescription
uidSetIEnumerable`1The set of UID for messages
flagsImapMessageFlagsThe flags to be changed
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


ChangeMessageFlagsAsync(IEnumerable<int>, ImapMessageFlags, CancellationToken)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(IEnumerable<int> sequenceSet, ImapMessageFlags flags, 
    CancellationToken token)
ParameterTypeDescription
sequenceSetIEnumerable`1The set of sequence numbers for messages
flagsImapMessageFlagsThe flags to be removed
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


ChangeMessageFlagsAsync(IConnection, IEnumerable<string>, ImapMessageFlags, CancellationToken)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(IConnection connection, IEnumerable<string> uidSet, 
    ImapMessageFlags flags, CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
uidSetIEnumerable`1The set of UID for messages
flagsImapMessageFlagsThe flags to be changed
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


ChangeMessageFlagsAsync(IConnection, IEnumerable<int>, ImapMessageFlags, CancellationToken)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(IConnection connection, IEnumerable<int> sequenceSet, 
    ImapMessageFlags flags, CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
sequenceSetIEnumerable`1The set of sequence numbers for messages
flagsImapMessageFlagsThe flags to be removed
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


ChangeMessageFlagsAsync(IEnumerable<string>, ImapMessageFlags, long, CancellationToken)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(IEnumerable<string> uidSet, ImapMessageFlags flags, 
    long modificationSequence, CancellationToken token)
ParameterTypeDescription
uidSetIEnumerable`1The set of UID for messages
flagsImapMessageFlagsThe flags to be changed
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


ChangeMessageFlagsAsync(IEnumerable<int>, ImapMessageFlags, long, CancellationToken)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(IEnumerable<int> sequenceSet, ImapMessageFlags flags, 
    long modificationSequence, CancellationToken token)
ParameterTypeDescription
sequenceSetIEnumerable`1The set of sequence numbers for messages
flagsImapMessageFlagsThe flags to be removed
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


ChangeMessageFlagsAsync(IConnection, IEnumerable<string>, ImapMessageFlags, long, CancellationToken)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(IConnection connection, IEnumerable<string> uidSet, 
    ImapMessageFlags flags, long modificationSequence, CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
uidSetIEnumerable`1The set of UID for messages
flagsImapMessageFlagsThe flags to be changed
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


ChangeMessageFlagsAsync(IConnection, IEnumerable<int>, ImapMessageFlags, long, CancellationToken)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(IConnection connection, IEnumerable<int> sequenceSet, 
    ImapMessageFlags flags, long modificationSequence, CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
sequenceSetIEnumerable`1The set of sequence numbers for messages
flagsImapMessageFlagsThe flags to be removed
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


ChangeMessageFlagsAsync(IEnumerable<ImapMessageInfo>, ImapMessageFlags, CancellationToken)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(IEnumerable<ImapMessageInfo> messageInfoSet, 
    ImapMessageFlags flags, CancellationToken token)
ParameterTypeDescription
messageInfoSetIEnumerable`1The set of ImapMessageInfo
flagsImapMessageFlagsThe flags to be changed
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


ChangeMessageFlagsAsync(IConnection, IEnumerable<ImapMessageInfo>, ImapMessageFlags, CancellationToken)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(IConnection connection, 
    IEnumerable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags, CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
messageInfoSetIEnumerable`1The set of ImapMessageInfo
flagsImapMessageFlagsThe flags to be changed
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


ChangeMessageFlagsAsync(IEnumerable<ImapMessageInfo>, ImapMessageFlags, long, CancellationToken)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(IEnumerable<ImapMessageInfo> messageInfoSet, 
    ImapMessageFlags flags, long modificationSequence, CancellationToken token)
ParameterTypeDescription
messageInfoSetIEnumerable`1The set of ImapMessageInfo
flagsImapMessageFlagsThe flags to be changed
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


ChangeMessageFlagsAsync(IConnection, IEnumerable<ImapMessageInfo>, ImapMessageFlags, long, CancellationToken)

Changes the flags of the message

public Task ChangeMessageFlagsAsync(IConnection connection, 
    IEnumerable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags, long modificationSequence, 
    CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
messageInfoSetIEnumerable`1The set of ImapMessageInfo
flagsImapMessageFlagsThe flags to be changed
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