|  | IMailFolderMoveToAsync(Int32, IMailFolder, CancellationToken) Method | 
            Asynchronously move the specified message to the destination folder.
            
Namespace: MailKitAssembly: MailKit (in MailKit.dll) Version: 4.12.1
 Syntax
SyntaxTask MoveToAsync(
	int index,
	IMailFolder destination,
	CancellationToken cancellationToken = default
)
Parameters
- index  Int32
- The index of the message to move.
- destination  IMailFolder
- The destination folder.
- cancellationToken  CancellationToken  (Optional)
- The cancellation token.
Return Value
TaskAn asynchronous task context.
 Exceptions
Exceptions Remarks
Remarks
            Asynchronously moves the specified message to the destination folder.
            
 See Also
See Also