Method GetCurrentResolutionAsync
- Namespace
- MailFathom.Application.Folders
- Assembly
- MailFathom.Application.dll
GetCurrentResolutionAsync(MailAccountId, MailFolderAlias, CancellationToken)
Gets the newest durable binding of an alias.
Task<MailFolderResolution?> GetCurrentResolutionAsync(MailAccountId accountId, MailFolderAlias folderAlias, CancellationToken cancellationToken)
Parameters
accountIdMailAccountIdThe account owning the alias.
folderAliasMailFolderAliasThe operator-facing folder name.
cancellationTokenCancellationTokenCancels the lookup.
Returns
- Task<MailFolderResolution>
The highest-generation binding, or null when the alias has never been bound.