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
Syntaxpublic Task CommitDeletesAsync(
IConnection connection,
string startUid,
string endUid,
CancellationToken token
)
Public Function CommitDeletesAsync (
connection As IConnection,
startUid As String,
endUid As String,
token As CancellationToken
) As Task
public:
Task^ CommitDeletesAsync(
IConnection^ connection,
String^ startUid,
String^ endUid,
CancellationToken token
)
member CommitDeletesAsync :
connection : IConnection *
startUid : string *
endUid : string *
token : CancellationToken -> Task
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:
TaskTask object, with delegate for this operation
See Also