IMove RequestOn Started(IMail Folder, IListUnique Id) Method
Called when a subset of the messages is about to be sent to the server.
Definition
Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
void OnStarted(
IMailFolder folder,
IList<UniqueId> uids
)Parameters
- folder IMailFolder
- The source folder.
- uids IListUniqueId
- The UIDs of the messages that are about to be moved.
Remarks
Called immediately before a command that will move the specified subset of messages is sent to the server. A single MoveTo operation may be split into multiple commands, in which case this method will be called once for each subset of the messages.
If this method is called but OnCompleted(IMailFolder, UniqueIdMap) is not called for the same subset of messages and the operation fails with an exception other than a CommandException, then it is unknown whether or not the server moved the messages.