Method RepointAsync
- Namespace
- MailFathom.Application.Folders
- Assembly
- MailFathom.Application.dll
RepointAsync(MailAccountId, MailFolderAlias, RemoteFolderPath, CancellationToken)
Points a folder the account already declares at the path it has been renamed or moved to.
Task<MailFolderDeclarationOutcome> RepointAsync(MailAccountId accountId, MailFolderAlias folderAlias, RemoteFolderPath path, CancellationToken cancellationToken)
Parameters
accountIdMailAccountIdThe account.
folderAliasMailFolderAliasThe alias the folder is declared under, which this does not change.
pathRemoteFolderPathThe path the server now advertises the folder at.
cancellationTokenCancellationTokenPropagates caller cancellation.
Returns
- Task<MailFolderDeclarationOutcome>
What the write did.