Click or drag to resize
MimeKit

IMailFolderStoreAsync(Int32, IStoreFlagsRequest, CancellationToken) Method

Asynchronously store message flags and keywords for a message.

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 4.3.0
Syntax
C#
Task<bool> StoreAsync(
	int index,
	IStoreFlagsRequest request,
	CancellationToken cancellationToken = default
)

Parameters

index  Int32
The index of the message.
request  IStoreFlagsRequest
The message flags and keywords to store.
cancellationToken  CancellationToken  (Optional)
The cancellation token.

Return Value

TaskBoolean
true if the store operation was successful; otherwise, false.
Remarks
Asynchronously updates the message flags and keywords for a message.
See Also