Click or drag to resize
MimeKit

IMailStoreGetMetadataAsync Method (MetadataTag, CancellationToken)

Asynchronously gets the specified metadata.

Namespace:  MailKit
Assembly:  MailKit (in MailKit.dll) Version: 3.0.0
Syntax
C#
Task<string> GetMetadataAsync(
	MetadataTag tag,
	CancellationToken cancellationToken = default
)

Parameters

tag
Type: MailKitMetadataTag
The metadata tag.
cancellationToken (Optional)
Type: System.ThreadingCancellationToken
The cancellation token.

Return Value

Type: TaskString
The requested metadata value.
Remarks
Asynchronously gets the specified metadata.
See Also