Table of Contents

Method WithdrawFlagChangesAsync

Namespace
MailFathom.Application.Mail.Mutations.Authoring
Assembly
MailFathom.Application.dll

WithdrawFlagChangesAsync(IReadOnlyList<MailboxMutationRecordId>, CancellationToken)

Withdraws flag and keyword changes this caller authored.

public Task<IReadOnlyList<MailboxChangeProgress>> WithdrawFlagChangesAsync(IReadOnlyList<MailboxMutationRecordId> recordIds, CancellationToken cancellationToken)

Parameters

recordIds IReadOnlyList<MailboxMutationRecordId>

The records to withdraw.

cancellationToken CancellationToken

Cancels 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 move is absent from the answer, exactly as a record belonging to somebody else is: this entry point holds authority over flag changes and says nothing about anything else.

Exceptions

ArgumentNullException

Thrown when recordIds is null.

ArgumentOutOfRangeException

Thrown when more records are named than one call may withdraw.

PrincipalNotAuthorizedException

Thrown when the caller does not hold the flag-writing grant.