 | ImapMoveByUIDAsync(ListInt64, FolderInfo, CancellationToken) Method |
Moves the specified email messages to the specified destination folder (mailbox). Uses copy and delete, if
Move is unavailable.
Namespace: Limilabs.Client.IMAPAssembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntaxpublic Task<List<long>> MoveByUIDAsync(
List<long> uids,
FolderInfo destinationFolder,
CancellationToken cancel = default
)
Public Function MoveByUIDAsync (
uids As List(Of Long),
destinationFolder As FolderInfo,
Optional cancel As CancellationToken = Nothing
) As Task(Of List(Of Long))
public:
Task<List<long long>^>^ MoveByUIDAsync(
List<long long>^ uids,
FolderInfo^ destinationFolder,
CancellationToken cancel = CancellationToken()
)
member MoveByUIDAsync :
uids : List<int64> *
destinationFolder : FolderInfo *
?cancel : CancellationToken
(* Defaults:
let _cancel = defaultArg cancel new CancellationToken()
*)
-> Task<List<int64>> Parameters
- uids ListInt64
- Unique-ids of the messages.
- destinationFolder FolderInfo
- Destination folder (mailbox).
- cancel CancellationToken (Optional)
- A cancellation token that can be used to signal the asynchronous operation should be canceled.
Return Value
TaskListInt64Unique-ids of the copied messages if the server supports
UniqueIdPlus, empty otherwise.
See Also