Table of Contents

Method OpenRun

Namespace
MailFathom.Application.Contacts.Collection
Assembly
MailFathom.Application.dll

OpenRun(MailAccountId, MailFolderSpecialUse?)

Opens what one synchronization run of one folder collects under.

public ContactCollectionRun OpenRun(MailAccountId accountId, MailFolderSpecialUse? folderRole)

Parameters

accountId MailAccountId

The account being synchronized, whose settings size the run's bound.

folderRole MailFolderSpecialUse?

The role the folder plays, or null when configuration gave it none.

Returns

ContactCollectionRun

The run, which the pass then hands back with every message it commits.

Remarks

The bound is read once per run rather than per message, so an operator raising it reaches the run after the one in flight. An account that collects nothing opens a run whose bound is zero, which costs nothing: the settings are read again per message and stop the work before the bound is ever asked.