IStore 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 folder that the messages belong to.
- uids IListUniqueId
- The UIDs of the messages that are about to be updated.
Remarks
Called immediately before a command that will update the specified subset of messages is sent to the server. A single Store 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, IListUniqueId, IListUniqueId) 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 applied the changes.