Click or drag to resize
MimeKit

IMailFolderGetMetadataAsync(MetadataOptions, IEnumerableMetadataTag, CancellationToken) Method

Asynchronously gets the specified metadata.

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 4.3.0
Syntax
C#
Task<MetadataCollection> GetMetadataAsync(
	MetadataOptions options,
	IEnumerable<MetadataTag> tags,
	CancellationToken cancellationToken = default
)

Parameters

options  MetadataOptions
The metadata options.
tags  IEnumerableMetadataTag
The metadata tags.
cancellationToken  CancellationToken  (Optional)
The cancellation token.

Return Value

TaskMetadataCollection
The requested metadata.
Remarks
Asynchronously gets the specified metadata.
See Also