Method RecordRunEnded
- Assembly
- MailFathom.Application.dll
RecordRunEnded(MailAccountId, int, int, bool)
Records how one account's run ended.
public void RecordRunEnded(MailAccountId accountId, int scheduledFolderCount, int failedFolderCount, bool mutationConvergenceFailed)
Parameters
accountIdMailAccountIdThe account whose run finished.
scheduledFolderCountintHow many folders the run scheduled.
failedFolderCountintHow many of them did not complete.
mutationConvergenceFailedboolWhether carrying the account's outstanding mailbox changes failed.
Remarks
The phase is left where the run put it, because what follows a finished run is the supervisor deciding a delay and reporting it through RecordNextRunDue(MailAccountId, TimeSpan, int). Moving to a waiting phase here would claim a wait whose length nothing had computed yet.