Click or drag to resize

ImapClientDeleteMessagesAsync Method (IEnumerableString, Int64, CancellationToken)

Marks a message with the specified unique identifier as deleted

Namespace:  Aspose.Email.Clients.Imap
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 22.4
Syntax
public Task DeleteMessagesAsync(
	IEnumerable<string> uidSet,
	long modificationSequence,
	CancellationToken token
)

Parameters

uidSet
Type: System.Collections.GenericIEnumerableString
The set of UID for messages
modificationSequence
Type: SystemInt64
Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162
token
Type: System.ThreadingCancellationToken
Propagates notification that operations should be canceled.

Return Value

Type: Task
Task object, with delegate for this operation
See Also