IMove RequestOn Started(IMail Folder, IListInt 32) 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<int> indexes
)Parameters
- folder IMailFolder
- The source folder.
- indexes IListInt32
- The indexes 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.
If this method is called but OnCompleted(IMailFolder, IListInt32) 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.