ImapClientMoveMessagesAsync Method (IEnumerableInt32, String, Boolean, CancellationToken) |
Moves the message
Namespace:
Aspose.Email.Clients.Imap
Assembly:
Aspose.Email (in Aspose.Email.dll) Version: 22.4
Syntaxpublic Task MoveMessagesAsync(
IEnumerable<int> sequenceSet,
string folderName,
bool commitDeletions,
CancellationToken token
)
Public Function MoveMessagesAsync (
sequenceSet As IEnumerable(Of Integer),
folderName As String,
commitDeletions As Boolean,
token As CancellationToken
) As Task
public:
Task^ MoveMessagesAsync(
IEnumerable<int>^ sequenceSet,
String^ folderName,
bool commitDeletions,
CancellationToken token
)
member MoveMessagesAsync :
sequenceSet : IEnumerable<int> *
folderName : string *
commitDeletions : bool *
token : CancellationToken -> Task
Parameters
- sequenceSet
- Type: System.Collections.GenericIEnumerableInt32
The set of sequence numbers for messages - folderName
- Type: SystemString
Folder name where a message is to be moved - commitDeletions
- Type: SystemBoolean
Specifies whether deletions should be committed. - token
- Type: System.ThreadingCancellationToken
Propagates notification that operations should be canceled.
Return Value
Type:
TaskTask object, with delegate for this operation
See Also