ImapClientCommitDeletesAsync Method (IConnection, String, String, 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,
	string startUid,
	string endUid,
	CancellationToken token
)

Parameters

connection
Type: Aspose.Email.ClientsIConnection
Connection to a server
startUid
Type: SystemString
The starting UID of a message list
endUid
Type: SystemString
The ending UID of a message list
token
Type: System.ThreadingCancellationToken
Propagates notification that operations should be canceled.

Return Value

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