FetchRequestOnCompleted(IMailFolder, IListInt32) Method

Called when the server has successfully fetched a subset of the messages.

Definition

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public virtual void OnCompleted(
	IMailFolder folder,
	IList<int> indexes
)

Parameters

folder  IMailFolder
The folder that the messages belong to.
indexes  IListInt32
The indexes of the messages that were requested.

Implements

IFetchRequestOnCompleted(IMailFolder, IListInt32)

Remarks

Called after the server has successfully completed the command that fetched the specified subset of messages.

If PreviewText was requested, then the preview text for some messages may be fetched using additional commands after this method has been called.

The default implementation does nothing.

See Also