Pop3DeleteMessagesAsync Method (Int32, Int32) |
Namespace: MailBee.Pop3MailAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public Task<bool> DeleteMessagesAsync(
int startIndex,
int count
)
Public Function DeleteMessagesAsync (
startIndex As Integer,
count As Integer
) As Task(Of Boolean)
Parameters
- startIndex
- Type: SystemInt32
The ordinal position (in the inbox) of the first message
in the range being deleted. - count
- Type: SystemInt32
Number of messages to be flagged for deletion, or -1 to
indicate that all messages in the range startIndex to
InboxMessageCount must be flagged for deletion.
Return Value
Type:
TaskBooleanA task that represents the asynchronous operation.
The value of
TResult parameter is
true if the messages have been flagged for deletion
or
count is 0; otherwise,
false.
Exceptions See Also