Click or drag to resize
MimeKit

IMailFolderStoreAsync(IListUniqueId, IStoreFlagsRequest, CancellationToken) Method

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

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

Parameters

uids  IListUniqueId
The message UIDs.
request  IStoreFlagsRequest
The message flags and keywords to store.
cancellationToken  CancellationToken  (Optional)
The cancellation token.

Return Value

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