Click or drag to resize
MimeKit

IMailFolderStoreAsync(IListUniqueId, UInt64, IListAnnotation, CancellationToken) Method

Asynchronously store the annotations for the specified messages only if their mod-sequence value is less than the specified value.

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 4.3.0
Syntax
C#
Task<IList<UniqueId>> StoreAsync(
	IList<UniqueId> uids,
	ulong modseq,
	IList<Annotation> annotations,
	CancellationToken cancellationToken = default
)

Parameters

uids  IListUniqueId
The UIDs of the messages.
modseq  UInt64
The mod-sequence value.
annotations  IListAnnotation
The annotations to store.
cancellationToken  CancellationToken  (Optional)
The cancellation token.

Return Value

TaskIListUniqueId
The unique IDs of the messages that were not updated.
Remarks
Asynchronously stores the annotations for the specified messages only if their mod-sequence value is less than the specified value.
See Also