| IMailFolderStoreAsync(Int32, IStoreLabelsRequest, CancellationToken) Method |
Asynchronously store GMail-style labels for a message.
Namespace: MailKitAssembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax Task<bool> StoreAsync(
int index,
IStoreLabelsRequest request,
CancellationToken cancellationToken = default
)
Parameters
- index Int32
- The index of the message.
- request IStoreLabelsRequest
- The labels to store.
- cancellationToken CancellationToken (Optional)
- The cancellation token.
Return Value
TaskBooleantrue if the store operation was successful; otherwise,
false.
Remarks
Asynchronously updates the GMail-style labels for a message.
See Also