Method MailFlagsChanged
- Namespace
- MailFathom.Application.Signals
- Assembly
- MailFathom.Application.dll
MailFlagsChanged(MailAccountId, MailFolderAlias, IEnumerable<SignalledEmailFlags>)
States where the \Seen and \Flagged flags of one folder's mail now stand, nothing else about it having moved.
public static ClientSignal MailFlagsChanged(MailAccountId account, MailFolderAlias folder, IEnumerable<SignalledEmailFlags> flags)
Parameters
accountMailAccountIdThe account the change is in.
folderMailFolderAliasThe folder the change is in.
flagsIEnumerable<SignalledEmailFlags>Where each affected email's flags now stand, taken up to MostNamedEmails.
Returns
- ClientSignal
The signal.
Remarks
It is composed only where nothing but those two flags moved. A message that also changed folder, was deleted, or whose keywords moved is a MailChanged(MailAccountId, MailFolderAlias, IEnumerable<StoredEmailId>), because a client applying a flag in place has decided that the row still belongs where it is drawn — and only a flag makes that true.
Exceptions
- ArgumentNullException
Thrown when
flagsis null.- ArgumentException
Thrown when nothing is stated: an empty list, or one whose every entry is silent about both flags.