 | IMailFolderGetMetadataAsync(MetadataTag, CancellationToken) Method |
Asynchronously gets the specified metadata.
Namespace: MailKitAssembly: MailKit (in MailKit.dll) Version: 4.10.0
SyntaxTask<string> GetMetadataAsync(
MetadataTag tag,
CancellationToken cancellationToken = default
)
Parameters
- tag MetadataTag
- The metadata tag.
- cancellationToken CancellationToken (Optional)
- The cancellation token.
Return Value
TaskStringThe requested metadata value.
Exceptions
Remarks
Asynchronously gets the specified metadata.
See Also