 | ImapCopyByUIDAsync(Int64, FolderInfo, CancellationToken) Method |
Copies the specified email message to the specified destination folder (mailbox).
Namespace: Limilabs.Client.IMAPAssembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntaxpublic Task<long?> CopyByUIDAsync(
long uid,
FolderInfo destinationFolder,
CancellationToken cancel = default
)
Public Function CopyByUIDAsync (
uid As Long,
destinationFolder As FolderInfo,
Optional cancel As CancellationToken = Nothing
) As Task(Of Long?)
public:
Task<Nullable<long long>>^ CopyByUIDAsync(
long long uid,
FolderInfo^ destinationFolder,
CancellationToken cancel = CancellationToken()
)
member CopyByUIDAsync :
uid : int64 *
destinationFolder : FolderInfo *
?cancel : CancellationToken
(* Defaults:
let _cancel = defaultArg cancel new CancellationToken()
*)
-> Task<Nullable<int64>> Parameters
- uid Int64
- Unique-id of the message.
- 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
TaskNullableInt64Unique-id of the copied message if the server supports
UniqueIdPlus, null otherwise.
See Also