ImapExpungeAsync Method (String, Boolean) |
Namespace: MailBee.ImapMailAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public Task<bool> ExpungeAsync(
string uidSet,
bool forceUidExpunge
)
Public Function ExpungeAsync (
uidSet As String,
forceUidExpunge As Boolean
) As Task(Of Boolean)
Parameters
- uidSet
- Type: SystemString
The comma-separated list of UIDs of the messages to be deleted, or a null reference
(Nothing in Visual Basic) if all messages marked as deleted should be removed. - forceUidExpunge
- Type: SystemBoolean
If true and uidSet is not a null reference, allows
MailBee to use UID EXPUNGE command only to expunge the messages. If false, MailBee is allowed to
simulate UID EXPUNGE using standard commands if UID EXPUNGE is not supported by the server.
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