Method BeginRun
- Namespace
- MailFathom.Infrastructure.Observability
- Assembly
- MailFathom.Infrastructure.dll
BeginRun(MailAccountId, MailFolderAlias?)
Opens the report of one segment of a run, and publishes it when the returned scope is disposed.
public IStoredMailRederivationRunScope BeginRun(MailAccountId accountId, MailFolderAlias? folderAlias)
Parameters
accountIdMailAccountIdThe account whose stored mail the segment walks.
folderAliasMailFolderAlias?The one folder of it, or null when the segment walks every folder.
Returns
- IStoredMailRederivationRunScope
The scope, which the caller must dispose exactly once and inside which the segment's passes run.