ImapDeleteMessagesAsync Method |
Namespace: MailBee.ImapMailAssembly: MailBee.NET.45 (in MailBee.NET.45.dll) Version: 10.0.45.502
Syntaxpublic Task<bool> DeleteMessagesAsync(
string messageIndexSet,
bool indexIsUid
)
Public Function DeleteMessagesAsync (
messageIndexSet As String,
indexIsUid As Boolean
) As Task(Of Boolean)
Parameters
- messageIndexSet
- Type: SystemString
A message sequence string containing ordinal message numbers or UIDs. Can be composed manually or using ToString. - indexIsUid
- Type: SystemBoolean
If true, messageIndexSet is treated as a sequence of UIDs; otherwise, as a sequence of ordinal message numbers.
Return Value
Type:
TaskBooleanA task that represents the asynchronous operation. The value of
TResult parameter is
true if the method succeeds; otherwise,
false.
Exceptions
See Also