ImapClient.RemoveMessageFlagsAsync

Contents
[ ]

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

Removes the flags of the message

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


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

Removes the flags of the message

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


RemoveMessageFlagsAsync(IEnumerable<ImapMessageInfo>, ImapMessageFlags, CancellationToken)

Removes the flags of the message

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


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

Removes the flags of the message

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


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

Removes the flags of the message

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


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

Removes the flags of the message

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


RemoveMessageFlagsAsync(IConnection, int, ImapMessageFlags)

Removes the flags of the message

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

Return Value

Task object, with delegate for this operation

See Also


RemoveMessageFlagsAsync(IConnection, string, ImapMessageFlags)

Removes the flags of the message

public Task RemoveMessageFlagsAsync(IConnection connection, string uniqueId, ImapMessageFlags flags)
ParameterTypeDescription
connectionIConnectionConnection to a server
uniqueIdStringUnique identifier of a message
flagsImapMessageFlagsThe flags to be added

Return Value

Task object, with delegate for this operation

See Also


RemoveMessageFlagsAsync(int, ImapMessageFlags)

Removes the flags of the message

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

Return Value

Task object, with delegate for this operation

See Also


RemoveMessageFlagsAsync(string, ImapMessageFlags)

Removes the flags of the message

public Task RemoveMessageFlagsAsync(string uniqueId, ImapMessageFlags flags)
ParameterTypeDescription
uniqueIdStringUnique identifier of a message
flagsImapMessageFlagsThe flags to be added

Return Value

Task object, with delegate for this operation

See Also


RemoveMessageFlagsAsync(IConnection, int, ImapMessageFlags, long)

Removes the flags of the message

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

Return Value

Task object, with delegate for this operation

See Also


RemoveMessageFlagsAsync(IConnection, string, ImapMessageFlags, long)

Removes the flags of the message

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

Return Value

Task object, with delegate for this operation

See Also


RemoveMessageFlagsAsync(int, ImapMessageFlags, long)

Removes the flags of the message

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

Return Value

Task object, with delegate for this operation

See Also


RemoveMessageFlagsAsync(string, ImapMessageFlags, long)

Removes the flags of the message

public Task RemoveMessageFlagsAsync(string uniqueId, ImapMessageFlags flags, 
    long modificationSequence)
ParameterTypeDescription
uniqueIdStringUnique identifier of a message
flagsImapMessageFlagsThe flags to be added
modificationSequenceInt64Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162

Return Value

Task object, with delegate for this operation

See Also


RemoveMessageFlagsAsync(string, string, ImapMessageFlags)

Removes the flags of the message

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


RemoveMessageFlagsAsync(int, int, ImapMessageFlags)

Removes the flags of the message

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


RemoveMessageFlagsAsync(IConnection, string, string, ImapMessageFlags)

Removes the flags of the message

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


RemoveMessageFlagsAsync(IConnection, int, int, ImapMessageFlags)

Removes the flags of the message

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


RemoveMessageFlagsAsync(string, string, ImapMessageFlags, long)

Removes the flags of the message

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


RemoveMessageFlagsAsync(int, int, ImapMessageFlags, long)

Removes the flags of the message

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


RemoveMessageFlagsAsync(IConnection, string, string, ImapMessageFlags, long)

Removes the flags of the message

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


RemoveMessageFlagsAsync(IConnection, int, int, ImapMessageFlags, long)

Removes the flags of the message

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


RemoveMessageFlagsAsync(IEnumerable<string>, ImapMessageFlags)

Removes the flags of the message

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


RemoveMessageFlagsAsync(IEnumerable<int>, ImapMessageFlags)

Removes the flags of the message

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


RemoveMessageFlagsAsync(IConnection, IEnumerable<string>, ImapMessageFlags)

Removes the flags of the message

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


RemoveMessageFlagsAsync(IConnection, IEnumerable<int>, ImapMessageFlags)

Removes the flags of the message

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


RemoveMessageFlagsAsync(IEnumerable<string>, ImapMessageFlags, long)

Removes the flags of the message

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

Exceptions

exceptioncondition
ArgumentExceptionUidSet should not be null or empty.

See Also


RemoveMessageFlagsAsync(IEnumerable<int>, ImapMessageFlags, long)

Removes the flags of the message

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

Exceptions

exceptioncondition
ArgumentExceptionSequenceSet should not be null or empty.

See Also


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

Removes the flags of the message

public Task RemoveMessageFlagsAsync(IConnection connection, IEnumerable<string> uidSet, 
    ImapMessageFlags flags, long modificationSequence)
ParameterTypeDescription
connectionIConnectionConnection to a server
uidSetIEnumerable`1The set of 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

Exceptions

exceptioncondition
ArgumentExceptionUidSet should not be null or empty.

See Also


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

Removes the flags of the message

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

Exceptions

exceptioncondition
ArgumentExceptionSequenceSet should not be null or empty.

See Also


RemoveMessageFlagsAsync(IEnumerable<ImapMessageInfo>, ImapMessageFlags)

Removes the flags of the message

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


RemoveMessageFlagsAsync(IConnection, IEnumerable<ImapMessageInfo>, ImapMessageFlags)

Removes the flags of the message

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


RemoveMessageFlagsAsync(IEnumerable<ImapMessageInfo>, ImapMessageFlags, long)

Removes the flags of the message

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


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

Removes the flags of the message

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


RemoveMessageFlagsAsync(IConnection, int, ImapMessageFlags, CancellationToken)

Removes the flags of the message

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

Return Value

Task object, with delegate for this operation

See Also


RemoveMessageFlagsAsync(IConnection, string, ImapMessageFlags, CancellationToken)

Removes the flags of the message

public Task RemoveMessageFlagsAsync(IConnection connection, string uniqueId, 
    ImapMessageFlags flags, CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
uniqueIdStringUnique identifier of a message
flagsImapMessageFlagsThe flags to be added
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


RemoveMessageFlagsAsync(int, ImapMessageFlags, CancellationToken)

Removes the flags of the message

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

Return Value

Task object, with delegate for this operation

See Also


RemoveMessageFlagsAsync(string, ImapMessageFlags, CancellationToken)

Removes the flags of the message

public Task RemoveMessageFlagsAsync(string uniqueId, ImapMessageFlags flags, 
    CancellationToken token)
ParameterTypeDescription
uniqueIdStringUnique identifier of a message
flagsImapMessageFlagsThe flags to be added
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


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

Removes the flags of the message

public Task RemoveMessageFlagsAsync(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 added
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


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

Removes the flags of the message

public Task RemoveMessageFlagsAsync(IConnection connection, string uniqueId, 
    ImapMessageFlags flags, long modificationSequence, CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
uniqueIdStringUnique identifier of a message
flagsImapMessageFlagsThe flags to be added
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


RemoveMessageFlagsAsync(int, ImapMessageFlags, long, CancellationToken)

Removes the flags of the message

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


RemoveMessageFlagsAsync(string, ImapMessageFlags, long, CancellationToken)

Removes the flags of the message

public Task RemoveMessageFlagsAsync(string uniqueId, ImapMessageFlags flags, 
    long modificationSequence, CancellationToken token)
ParameterTypeDescription
uniqueIdStringUnique identifier of a message
flagsImapMessageFlagsThe flags to be added
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


RemoveMessageFlagsAsync(string, string, ImapMessageFlags, CancellationToken)

Removes the flags of the message

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


RemoveMessageFlagsAsync(int, int, ImapMessageFlags, CancellationToken)

Removes the flags of the message

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


RemoveMessageFlagsAsync(IConnection, string, string, ImapMessageFlags, CancellationToken)

Removes the flags of the message

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


RemoveMessageFlagsAsync(IConnection, int, int, ImapMessageFlags, CancellationToken)

Removes the flags of the message

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


RemoveMessageFlagsAsync(string, string, ImapMessageFlags, long, CancellationToken)

Removes the flags of the message

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


RemoveMessageFlagsAsync(int, int, ImapMessageFlags, long, CancellationToken)

Removes the flags of the message

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


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

Removes the flags of the message

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


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

Removes the flags of the message

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


RemoveMessageFlagsAsync(IEnumerable<string>, ImapMessageFlags, CancellationToken)

Removes the flags of the message

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


RemoveMessageFlagsAsync(IEnumerable<int>, ImapMessageFlags, CancellationToken)

Removes the flags of the message

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


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

Removes the flags of the message

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


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

Removes the flags of the message

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


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

Removes the flags of the message

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


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

Removes the flags of the message

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