ImapClientCommitDeletesAsync Method (IConnection, IEnumerableString, CancellationToken)

Commit the deletions This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315

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

Parameters

connection
Type: Aspose.Email.ClientsIConnection
Connection to a server
uidSet
Type: System.Collections.GenericIEnumerableString
Set of unique identifiers for messages
token
Type: System.ThreadingCancellationToken
Propagates notification that operations should be canceled.

Return Value

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