Click or drag to resize
MimeKit

IMailFolderStoreAsync(IListInt32, 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<int>> StoreAsync(
	IList<int> indexes,
	IStoreLabelsRequest request,
	CancellationToken cancellationToken = default
)

Parameters

indexes  IListInt32
The message indexes.
request  IStoreLabelsRequest
The labels to store.
cancellationToken  CancellationToken  (Optional)
The cancellation token.

Return Value

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