ImapMoveMessagesAsync Method (String, Boolean, String, UidPlusResult) |
Namespace: MailBee.ImapMailAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public Task<bool> MoveMessagesAsync(
string messageIndexSet,
bool indexIsUid,
string targetFolderName,
UidPlusResult result
)
Public Function MoveMessagesAsync (
messageIndexSet As String,
indexIsUid As Boolean,
targetFolderName As String,
result As UidPlusResult
) 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. - targetFolderName
- Type: SystemString
The full name of the destination folder. - result
- Type: MailBee.ImapMailUidPlusResult
A reference to the UidPlusResult object to be filled with the outcome
of the move operation reported by UIDPLUS enabled server (the outcome includes the UIDs
of the source messages being moved, the UIDs assigned to the moved messages in
the destination folder, and the UIDVALIDITY of the destination folder),
or a null reference (Nothing in Visual Basic) if the application does not need this information.
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