Method WithdrawMovesAsync
- Namespace
- MailFathom.Application.Mail.Mutations.Authoring
- Assembly
- MailFathom.Application.dll
WithdrawMovesAsync(IReadOnlyList<MailboxMutationRecordId>, CancellationToken)
Withdraws folder moves this caller authored.
public Task<IReadOnlyList<MailboxChangeProgress>> WithdrawMovesAsync(IReadOnlyList<MailboxMutationRecordId> recordIds, CancellationToken cancellationToken)
Parameters
recordIdsIReadOnlyList<MailboxMutationRecordId>The records to withdraw.
cancellationTokenCancellationTokenCancels the read and the commit.
Returns
- Task<IReadOnlyList<MailboxChangeProgress>>
One entry per record this caller holds under those identities, each reporting where it now stands.
Remarks
A record naming a flag change is absent from the answer, for the reason the flag entry point gives about a move.
Exceptions
- ArgumentNullException
Thrown when
recordIdsis null.- ArgumentOutOfRangeException
Thrown when more records are named than one call may withdraw.
- PrincipalNotAuthorizedException
Thrown when the caller does not hold the moving grant.