Click or drag to resize
MimeKit

IMailFolderStoreAsync(IListInt32, IStoreFlagsRequest, CancellationToken) Method

Asynchronously store message flags and keywords for a set of messages.

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 4.3.0
Syntax
C#
Task<IList<int>> StoreAsync(
	IList<int> indexes,
	IStoreFlagsRequest request,
	CancellationToken cancellationToken = default
)

Parameters

indexes  IListInt32
The message indexes.
request  IStoreFlagsRequest
The message flags and keywords to store.
cancellationToken  CancellationToken  (Optional)
The cancellation token.

Return Value

TaskIListInt32
The indexes of the messages that were not updated.
Remarks
Asynchronously updates the message flags and keywords for a set of message.
See Also