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