FetchRequestOnStarted(IMailFolder, IListUniqueId) Method

Called when a subset of the messages is about to be fetched.

Definition

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public virtual 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 fetched.

Implements

IFetchRequestOnStarted(IMailFolder, IListUniqueId)

Remarks

Called immediately before a command that will fetch the specified subset of messages is sent to the server. A single Fetch operation may be split into multiple commands, in which case this method will be called once for each subset of the messages.

The default implementation does nothing.

See Also