Click or drag to resize
MimeKit

IMailFolderStoreAsync(IListUniqueId, IStoreLabelsRequest, CancellationToken) Method

Asynchronously store GMail-style labels 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,
	IStoreLabelsRequest request,
	CancellationToken cancellationToken = default
)

Parameters

uids  IListUniqueId
The message UIDs.
request  IStoreLabelsRequest
The labels to store.
cancellationToken  CancellationToken  (Optional)
The cancellation token.

Return Value

TaskIListUniqueId
The UIDs of the messages that were not updated.
Remarks
Asynchronously updates the GMail-style labels for a set of messages.
See Also