| IMailFolderStoreAsync(IListInt32, IStoreLabelsRequest, CancellationToken) Method |
Asynchronously store GMail-style labels for a set of messages.
Namespace: MailKitAssembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax 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
TaskIListInt32The indexes of the messages that were not updated.
Remarks
Asynchronously updates the GMail-style labels for a set of message.
See Also