ImapClient.DeleteMessagesAsync

Contents
[ ]

DeleteMessagesAsync(IConnection, IEnumerable<ImapMessageInfo>, CancellationToken)

Marks a message with the specified sequence number as deleted

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

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(IEnumerable<ImapMessageInfo>, CancellationToken)

Marks a message with the specified sequence number as deleted

public Task DeleteMessagesAsync(IEnumerable<ImapMessageInfo> messageInfoSet, 
    CancellationToken token)
ParameterTypeDescription
messageInfoSetIEnumerable`1The set of ImapMessageInfo for deletion
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(IConnection, IEnumerable<ImapMessageInfo>, long, CancellationToken)

Marks a message with the specified unique identifier as deleted

public Task DeleteMessagesAsync(IConnection connection, 
    IEnumerable<ImapMessageInfo> messageInfoSet, long modificationSequence, CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
messageInfoSetIEnumerable`1The set of ImapMessageInfo for deletion
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


DeleteMessagesAsync(IEnumerable<ImapMessageInfo>, long, CancellationToken)

Marks a message with the specified unique identifier as deleted

public Task DeleteMessagesAsync(IEnumerable<ImapMessageInfo> messageInfoSet, 
    long modificationSequence, CancellationToken token)
ParameterTypeDescription
messageInfoSetIEnumerable`1The set of ImapMessageInfo for deletion
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


DeleteMessagesAsync(IEnumerable<ImapMessageInfo>, bool, CancellationToken)

Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315

public Task DeleteMessagesAsync(IEnumerable<ImapMessageInfo> messageInfoSet, bool commitNow, 
    CancellationToken token)
ParameterTypeDescription
messageInfoSetIEnumerable`1The set of ImapMessageInfo for deletion
commitNowBooleanDefines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(IConnection, IEnumerable<ImapMessageInfo>, bool, CancellationToken)

Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315

public Task DeleteMessagesAsync(IConnection connection, 
    IEnumerable<ImapMessageInfo> messageInfoSet, bool commitNow, CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
messageInfoSetIEnumerable`1The set of ImapMessageInfo for deletion
commitNowBooleanDefines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(IEnumerable<ImapMessageInfo>, long, bool, CancellationToken)

Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315

public Task DeleteMessagesAsync(IEnumerable<ImapMessageInfo> messageInfoSet, 
    long modificationSequence, bool commitNow, CancellationToken token)
ParameterTypeDescription
messageInfoSetIEnumerable`1The set of ImapMessageInfo for deletion
modificationSequenceInt64Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162
commitNowBooleanDefines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(IConnection, IEnumerable<ImapMessageInfo>, long, bool, CancellationToken)

Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315

public Task DeleteMessagesAsync(IConnection connection, 
    IEnumerable<ImapMessageInfo> messageInfoSet, long modificationSequence, bool commitNow, 
    CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
messageInfoSetIEnumerable`1The set of ImapMessageInfo for deletion
modificationSequenceInt64Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162
commitNowBooleanDefines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(IConnection, IEnumerable<int>)

Marks a message with the specified sequence number as deleted

public Task DeleteMessagesAsync(IConnection connection, IEnumerable<int> sequenceSet)
ParameterTypeDescription
connectionIConnectionConnection to a server
sequenceSetIEnumerable`1The set of sequence numbers for messages

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(IConnection, IEnumerable<string>)

Marks a message with the specified sequence number as deleted

public Task DeleteMessagesAsync(IConnection connection, IEnumerable<string> uidSet)
ParameterTypeDescription
connectionIConnectionConnection to a server
uidSetIEnumerable`1The set of UID for messages

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(IEnumerable<int>)

Marks a message with the specified sequence number as deleted

public Task DeleteMessagesAsync(IEnumerable<int> sequenceSet)
ParameterTypeDescription
sequenceSetIEnumerable`1The set of sequence numbers for messages

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(IEnumerable<string>)

Marks a message with the specified sequence number as deleted

public Task DeleteMessagesAsync(IEnumerable<string> uidSet)
ParameterTypeDescription
uidSetIEnumerable`1The set of UID for messages

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(IConnection, IEnumerable<int>, long)

Marks a message with the specified sequence number as deleted

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

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(IConnection, IEnumerable<string>, long)

Marks a message with the specified unique identifier as deleted

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

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(IEnumerable<int>, long)

Marks a message with the specified sequence number as deleted

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

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(IEnumerable<string>, long)

Marks a message with the specified unique identifier as deleted

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

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(IEnumerable<string>, bool)

Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315

public Task DeleteMessagesAsync(IEnumerable<string> uidSet, bool commitNow)
ParameterTypeDescription
uidSetIEnumerable`1The set of UID for messages
commitNowBooleanDefines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(IConnection, IEnumerable<string>, bool)

Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315

public Task DeleteMessagesAsync(IConnection connection, IEnumerable<string> uidSet, bool commitNow)
ParameterTypeDescription
connectionIConnectionConnection to a server
uidSetIEnumerable`1The set of UID for messages
commitNowBooleanDefines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(IEnumerable<string>, long, bool)

Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315

public Task DeleteMessagesAsync(IEnumerable<string> uidSet, long modificationSequence, 
    bool commitNow)
ParameterTypeDescription
uidSetIEnumerable`1The set of UID for messages
modificationSequenceInt64Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162
commitNowBooleanDefines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(IConnection, IEnumerable<string>, long, bool)

Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315

public Task DeleteMessagesAsync(IConnection connection, IEnumerable<string> uidSet, 
    long modificationSequence, bool commitNow)
ParameterTypeDescription
connectionIConnectionConnection to a server
uidSetIEnumerable`1The set of UID for messages
modificationSequenceInt64Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162
commitNowBooleanDefines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(IConnection, int, int)

Marks a message with the specified sequence number as deleted

public Task DeleteMessagesAsync(IConnection connection, int startSequence, int endSequence)
ParameterTypeDescription
connectionIConnectionConnection to a server
startSequenceInt32The starting sequence number of a message list
endSequenceInt32The ending sequence number of a message list

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(IConnection, string, string)

Marks a message with the specified sequence number as deleted

public Task DeleteMessagesAsync(IConnection connection, string startUid, string endUid)
ParameterTypeDescription
connectionIConnectionConnection to a server
startUidStringThe starting UID of a message list
endUidStringThe ending UID of a message list

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(int, int)

Marks a message with the specified sequence number as deleted

public Task DeleteMessagesAsync(int startSequence, int endSequence)
ParameterTypeDescription
startSequenceInt32The starting sequence number of a message list
endSequenceInt32The ending sequence number of a message list

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(string, string)

Marks a message with the specified sequence number as deleted

public Task DeleteMessagesAsync(string startUid, string endUid)
ParameterTypeDescription
startUidStringThe starting UID of a message list
endUidStringThe ending UID of a message list

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(IConnection, int, int, long)

Marks a message with the specified sequence number as deleted

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

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(IConnection, string, string, long)

Marks a message with the specified unique identifier as deleted

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

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(int, int, long)

Marks a message with the specified sequence number as deleted

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

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(string, string, long)

Marks a message with the specified unique identifier as deleted

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

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(string, string, bool)

Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315

public Task DeleteMessagesAsync(string startUid, string endUid, bool commitNow)
ParameterTypeDescription
startUidStringThe starting UID of a message list
endUidStringThe ending UID of a message list
commitNowBooleanDefines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(IConnection, string, string, bool)

Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315

public Task DeleteMessagesAsync(IConnection connection, string startUid, string endUid, 
    bool commitNow)
ParameterTypeDescription
connectionIConnectionConnection to a server
startUidStringThe starting UID of a message list
endUidStringThe ending UID of a message list
commitNowBooleanDefines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(string, string, long, bool)

Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315

public Task DeleteMessagesAsync(string startUid, string endUid, long modificationSequence, 
    bool commitNow)
ParameterTypeDescription
startUidStringThe starting UID of a message list
endUidStringThe ending UID of a message list
modificationSequenceInt64Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162
commitNowBooleanDefines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(IConnection, string, string, long, bool)

Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315

public Task DeleteMessagesAsync(IConnection connection, string startUid, string endUid, 
    long modificationSequence, bool commitNow)
ParameterTypeDescription
connectionIConnectionConnection to a server
startUidStringThe starting UID of a message list
endUidStringThe ending UID of a message list
modificationSequenceInt64Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162
commitNowBooleanDefines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(IConnection, IEnumerable<ImapMessageInfo>)

Marks a message with the specified sequence number as deleted

public Task DeleteMessagesAsync(IConnection connection, IEnumerable<ImapMessageInfo> messageInfoSet)
ParameterTypeDescription
connectionIConnectionConnection to a server
messageInfoSetIEnumerable`1The set of ImapMessageInfo for deletion

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(IEnumerable<ImapMessageInfo>)

Marks a message with the specified sequence number as deleted

public Task DeleteMessagesAsync(IEnumerable<ImapMessageInfo> messageInfoSet)
ParameterTypeDescription
messageInfoSetIEnumerable`1The set of ImapMessageInfo for deletion

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(IConnection, IEnumerable<ImapMessageInfo>, long)

Marks a message with the specified unique identifier as deleted

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

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(IEnumerable<ImapMessageInfo>, long)

Marks a message with the specified unique identifier as deleted

public Task DeleteMessagesAsync(IEnumerable<ImapMessageInfo> messageInfoSet, 
    long modificationSequence)
ParameterTypeDescription
messageInfoSetIEnumerable`1The set of ImapMessageInfo for deletion
modificationSequenceInt64Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(IEnumerable<ImapMessageInfo>, bool)

Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315

public Task DeleteMessagesAsync(IEnumerable<ImapMessageInfo> messageInfoSet, bool commitNow)
ParameterTypeDescription
messageInfoSetIEnumerable`1The set of ImapMessageInfo for deletion
commitNowBooleanDefines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(IConnection, IEnumerable<ImapMessageInfo>, bool)

Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315

public Task DeleteMessagesAsync(IConnection connection, 
    IEnumerable<ImapMessageInfo> messageInfoSet, bool commitNow)
ParameterTypeDescription
connectionIConnectionConnection to a server
messageInfoSetIEnumerable`1The set of ImapMessageInfo for deletion
commitNowBooleanDefines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(IEnumerable<ImapMessageInfo>, long, bool)

Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315

public Task DeleteMessagesAsync(IEnumerable<ImapMessageInfo> messageInfoSet, 
    long modificationSequence, bool commitNow)
ParameterTypeDescription
messageInfoSetIEnumerable`1The set of ImapMessageInfo for deletion
modificationSequenceInt64Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162
commitNowBooleanDefines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(IConnection, IEnumerable<ImapMessageInfo>, long, bool)

Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315

public Task DeleteMessagesAsync(IConnection connection, 
    IEnumerable<ImapMessageInfo> messageInfoSet, long modificationSequence, bool commitNow)
ParameterTypeDescription
connectionIConnectionConnection to a server
messageInfoSetIEnumerable`1The set of ImapMessageInfo for deletion
modificationSequenceInt64Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162
commitNowBooleanDefines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(IConnection, IEnumerable<int>, CancellationToken)

Marks a message with the specified sequence number as deleted

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

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(IConnection, IEnumerable<string>, CancellationToken)

Marks a message with the specified sequence number as deleted

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

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(IEnumerable<int>, CancellationToken)

Marks a message with the specified sequence number as deleted

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

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(IEnumerable<string>, CancellationToken)

Marks a message with the specified sequence number as deleted

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

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(IConnection, IEnumerable<int>, long, CancellationToken)

Marks a message with the specified sequence number as deleted

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


DeleteMessagesAsync(IConnection, IEnumerable<string>, long, CancellationToken)

Marks a message with the specified unique identifier as deleted

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


DeleteMessagesAsync(IEnumerable<int>, long, CancellationToken)

Marks a message with the specified sequence number as deleted

public Task DeleteMessagesAsync(IEnumerable<int> sequenceSet, long modificationSequence, 
    CancellationToken token)
ParameterTypeDescription
sequenceSetIEnumerable`1The set of sequence numbers for messages
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


DeleteMessagesAsync(IEnumerable<string>, long, CancellationToken)

Marks a message with the specified unique identifier as deleted

public Task DeleteMessagesAsync(IEnumerable<string> uidSet, long modificationSequence, 
    CancellationToken token)
ParameterTypeDescription
uidSetIEnumerable`1The set of UID for messages
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


DeleteMessagesAsync(IEnumerable<string>, bool, CancellationToken)

Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315

public Task DeleteMessagesAsync(IEnumerable<string> uidSet, bool commitNow, CancellationToken token)
ParameterTypeDescription
uidSetIEnumerable`1The set of UID for messages
commitNowBooleanDefines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(IConnection, IEnumerable<string>, bool, CancellationToken)

Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315

public Task DeleteMessagesAsync(IConnection connection, IEnumerable<string> uidSet, bool commitNow, 
    CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
uidSetIEnumerable`1The set of UID for messages
commitNowBooleanDefines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(IEnumerable<string>, long, bool, CancellationToken)

Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315

public Task DeleteMessagesAsync(IEnumerable<string> uidSet, long modificationSequence, 
    bool commitNow, CancellationToken token)
ParameterTypeDescription
uidSetIEnumerable`1The set of UID for messages
modificationSequenceInt64Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162
commitNowBooleanDefines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(IConnection, IEnumerable<string>, long, bool, CancellationToken)

Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315

public Task DeleteMessagesAsync(IConnection connection, IEnumerable<string> uidSet, 
    long modificationSequence, bool commitNow, CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
uidSetIEnumerable`1The set of UID for messages
modificationSequenceInt64Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162
commitNowBooleanDefines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(IConnection, int, int, CancellationToken)

Marks a message with the specified sequence number as deleted

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

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(IConnection, string, string, CancellationToken)

Marks a message with the specified sequence number as deleted

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

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(int, int, CancellationToken)

Marks a message with the specified sequence number as deleted

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

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(string, string, CancellationToken)

Marks a message with the specified sequence number as deleted

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

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(IConnection, int, int, long, CancellationToken)

Marks a message with the specified sequence number as deleted

public Task DeleteMessagesAsync(IConnection connection, int startSequence, int endSequence, 
    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
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


DeleteMessagesAsync(IConnection, string, string, long, CancellationToken)

Marks a message with the specified unique identifier as deleted

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


DeleteMessagesAsync(int, int, long, CancellationToken)

Marks a message with the specified sequence number as deleted

public Task DeleteMessagesAsync(int startSequence, int endSequence, long modificationSequence, 
    CancellationToken token)
ParameterTypeDescription
startSequenceInt32The starting sequence number of a message list
endSequenceInt32The ending sequence number of a message list
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


DeleteMessagesAsync(string, string, long, CancellationToken)

Marks a message with the specified unique identifier as deleted

public Task DeleteMessagesAsync(string startUid, string endUid, long modificationSequence, 
    CancellationToken token)
ParameterTypeDescription
startUidStringThe starting UID of a message list
endUidStringThe ending UID of a message list
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


DeleteMessagesAsync(string, string, bool, CancellationToken)

Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315

public Task DeleteMessagesAsync(string startUid, string endUid, bool commitNow, 
    CancellationToken token)
ParameterTypeDescription
startUidStringThe starting UID of a message list
endUidStringThe ending UID of a message list
commitNowBooleanDefines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(IConnection, string, string, bool, CancellationToken)

Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315

public Task DeleteMessagesAsync(IConnection connection, string startUid, string endUid, 
    bool commitNow, CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
startUidStringThe starting UID of a message list
endUidStringThe ending UID of a message list
commitNowBooleanDefines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(string, string, long, bool, CancellationToken)

Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315

public Task DeleteMessagesAsync(string startUid, string endUid, long modificationSequence, 
    bool commitNow, CancellationToken token)
ParameterTypeDescription
startUidStringThe starting UID of a message list
endUidStringThe ending UID of a message list
modificationSequenceInt64Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162
commitNowBooleanDefines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


DeleteMessagesAsync(IConnection, string, string, long, bool, CancellationToken)

Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315

public Task DeleteMessagesAsync(IConnection connection, string startUid, string endUid, 
    long modificationSequence, bool commitNow, CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
startUidStringThe starting UID of a message list
endUidStringThe ending UID of a message list
modificationSequenceInt64Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162
commitNowBooleanDefines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also