Method BeginFolderRun
- Namespace
- MailFathom.Infrastructure.Observability
- Assembly
- MailFathom.Infrastructure.dll
BeginFolderRun(MailAccountId)
Opens the span one folder's turn through a cycle is reported as, beneath the cycle's own span.
public MailSynchronizationTelemetry.FolderRunScope BeginFolderRun(MailAccountId accountId)
Parameters
accountIdMailAccountIdThe account the folder belongs to.
Returns
- MailSynchronizationTelemetry.FolderRunScope
The scope, which the caller must dispose after recording how the folder ended.
Remarks
The folder alias is carried by the outcome rather than by this call, because a mapping that reached the run unusable has only the configured alias to name until it has been turned into one.