Table of Contents

Interface IMailboxNotificationSessionFactory

Namespace
MailFathom.Application.Synchronization.Sessions
Assembly
MailFathom.Application.dll

Opens the long-lived session a folder in push mode waits on.

public interface IMailboxNotificationSessionFactory

Methods

OpenAsync(MailAccountId, MailFolderResolution, MailTransportSecurityPolicy, CancellationToken)

Opens a session that waits for changes to one folder, or reports that the server cannot serve one.

OpenForFoldersAsync(MailAccountId, IReadOnlyList<MailFolderResolution>, MailTransportSecurityPolicy, CancellationToken)

Opens one session that watches several folders, or reports that the server cannot serve one.