 | ImapDeleteMessageByUIDAsync(ListInt64, CancellationToken) Method |
Deletes message specified by the uids. Issues EXPUNGE command after.
Namespace: Limilabs.Client.IMAPAssembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntaxpublic Task DeleteMessageByUIDAsync(
List<long> uids,
CancellationToken cancel = default
)
Public Function DeleteMessageByUIDAsync (
uids As List(Of Long),
Optional cancel As CancellationToken = Nothing
) As Task
public:
Task^ DeleteMessageByUIDAsync(
List<long long>^ uids,
CancellationToken cancel = CancellationToken()
)
member DeleteMessageByUIDAsync :
uids : List<int64> *
?cancel : CancellationToken
(* Defaults:
let _cancel = defaultArg cancel new CancellationToken()
*)
-> Task Parameters
- uids ListInt64
- Unique-ids of the messages to flag.
- cancel CancellationToken (Optional)
- A cancellation token that can be used to signal the asynchronous operation should be canceled.
Return Value
TaskA task that represents the asynchronous message delete operation.
See Also